[petsc-users] vecview command
amlan barua
abarua at iit.edu
Sat Jan 12 12:48:56 CST 2013
Yes. The output is double precision now. Thanks.
On Sat, Jan 12, 2013 at 11:56 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> On Jan 12, 2013, at 9:42 AM, Matthew Knepley <knepley at gmail.com> wrote:
>
> > On Sat, Jan 12, 2013 at 9:40 AM, amlan barua <abarua at iit.edu> wrote:
> > Hi,
> > How to set the precision of the output in the vecview command? I want to
> see more digits.
> >
> Or use PetscViewerSetFormat(viewer,PETSC_VIEWER_ASCII_MATLAB); before
> calling VecView()
>
> Barry
>
> > That is fixed in VecView. You can just use VecGetArray() and print, or
> use the binary output
> > and process it with Python.
> >
> > Matt
> >
> >
> > Amlan
> >
> >
> >
> > --
> > 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/20130112/770aab38/attachment.html>
More information about the petsc-users
mailing list