[petsc-users] Writing solution data to file when using DMDA.
Jed Brown
jed at jedbrown.org
Tue Mar 18 18:31:17 CDT 2014
Åsmund Ervik <asmund.ervik at ntnu.no> writes:
> I'm also willing to try the VTK way of doing things, but I hit a
> problem when I tried that: even though I include "petscviewer.h" (also
> tried adding "petscviewerdef.h"), when I do
> call PetscViewerSetType(viewer,PETSCVIEWERVTK,ierr) my compiler
> complains that PETSCVIEWERVTK is undefined (has no implicit
> type).
Should be <finclude/petscviewer.h>
Is it actually included? Are you sure you have v3.4.3?
$ git grep VIEWERVTK v3.4.3 include/finclude/petscviewerdef.h
v3.4.3:include/finclude/petscviewerdef.h:#define PETSCVIEWERVTK 'vtk'
> This is from Fortran90 using preprocessing macros to #include the
> files. I tried PETSCVIEWERASCII as well, same problem. This is with
> 3.4.3. Any hints on this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140319/b9ef54a2/attachment.pgp>
More information about the petsc-users
mailing list