Thank you both for the replies.
I write a few real eigenvalues to a file using PetscRealView. Do you really 
think going binary is better here? Why would that be the case?

Kind regards,
Elias


Date: Mon, 4 Jul 2011 12:21:16 -0500
From: Barry Smith<[email protected]>
Subject: Re: [petsc-users] Number of decimals in Viewer
To: PETSc users list<petsc-users at mcs.anl.gov>
Message-ID:<8302C6CC-5335-4BD3-A24A-40B2D4822959 at mcs.anl.gov>
Content-Type: text/plain; charset=us-ascii


    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.

Reply via email to