Åsmund Ervik <[email protected]> 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?

Attachment: pgpkZNuZeKPM6.pgp
Description: PGP signature

Reply via email to