[petsc-users] Data type for PetscViewer
Matthew Knepley
knepley at gmail.com
Fri Jun 27 12:34:40 CDT 2014
On Fri, Jun 27, 2014 at 10:22 AM, Que Cat <quecat001 at gmail.com> wrote:
> Dear PetscUsers,
>
> How could we specify the data type for PetscView? For example, if we have
> a vector and we want to output to hdf5 with the integer number ( not float
> like 0.000). Thanks.
>
Vecs hold only PetscScalar, so you cannot set this.
Thanks,
Matt
> Que
>
--
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/20140627/2c11bb78/attachment.html>
More information about the petsc-users
mailing list