PetscExpScalar(x)

Matthew Knepley knepley at gmail.com
Sat Jun 13 14:58:23 CDT 2009


On Sat, Jun 13, 2009 at 2:50 PM, (Rebecca) Xuefei YUAN
<xy2102 at columbia.edu>wrote:

> Hi,
>
> I always has PetscExpScalar(x) returning 1 no matter what value x is. Is
> there anything wrong?


This is unlikely to be the case. I suspect that for some reason you are
actually passing 0. I would look
at it in the debugger.

  Matt


>
> Thanks,
>
> --
> (Rebecca) Xuefei YUAN
> Department of Applied Physics and Applied Mathematics
> Columbia University
> Tel:917-399-8032
> www.columbia.edu/~xy2102 <http://www.columbia.edu/%7Exy2102>
>
-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090613/63ef2559/attachment.htm>


More information about the petsc-users mailing list