Math function "ln" in Petsc
(Rebecca) Xuefei YUAN
xy2102 at columbia.edu
Thu Jan 1 07:16:41 CST 2009
Hey,Barry,
I add the following into petscmath.h file, and it works now. Thanks very much!
# define PetscLogScalar(a) log(a)
Rebecca
Quoting Barry Smith <bsmith at mcs.anl.gov>:
>
> It is called PetscLogScalar()
>
> Barry
>
> On Dec 31, 2008, at 9:14 PM, (Rebecca) Xuefei YUAN wrote:
>
>> I know that there is a PetscExpScalar, but it seems that there is
>> no such a function like PetscLnScalar.
>>
>> Thanks!
>>
--
(Rebecca) Xuefei YUAN
Department of Applied Physics and Applied Mathematics
Columbia University
Tel:917-399-8032
www.columbia.edu/~xy2102
More information about the petsc-users
mailing list