[petsc-users] Use 16 decimal digit in petsc
Matthew Knepley
knepley at gmail.com
Fri Dec 1 07:18:54 CST 2017
On Fri, Dec 1, 2017 at 6:20 AM, Edoardo alinovi <edoardo.alinovi at gmail.com>
wrote:
> Dear user,
>
> I am solving the few last issues in interfacing petsc with my code.
>
> My code works with 16 decimal digits after the "." , but it seems that
> petsc keeps up to 10 digits for some reason.
>
Are you talking about ASCII output? Internally these are just IEEE 754
double precision by default.
Matt
> Is there a way to fix this?
>
> Thank you very much for the help,
>
> Edoardo
>
>
--
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
https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171201/2cd18d92/attachment.html>
More information about the petsc-users
mailing list