[petsc-users] Number of decimals in Viewer
Barry Smith
bsmith at mcs.anl.gov
Mon Jul 4 12:21:16 CDT 2011
You can simply edit the PetscRealView() src/sys/error/err.c function which is very simple and add more digits
On Jul 4, 2011, at 10:27 AM, Jed Brown wrote:
> On Mon, Jul 4, 2011 at 10:24, Elias Goldmann <goldmann at itp.uni-bremen.de> wrote:
> is there any possibility to change the number of decimals written to the file
> while using PetscRealView ?
>
> There is not currently a way to set the format/precision of ASCII numeric output, but it is generally better to use binary files for anything other than casual inspection by a human.
More information about the petsc-users
mailing list