[cig-commits] r16772 - short/3D/PyLith/trunk/libsrc/meshio

willic3 at geodynamics.org willic3 at geodynamics.org
Sun May 23 19:01:35 PDT 2010


Author: willic3
Date: 2010-05-23 19:01:35 -0700 (Sun, 23 May 2010)
New Revision: 16772

Modified:
   short/3D/PyLith/trunk/libsrc/meshio/DataWriterVTK.cc
Log:
Changed PETSC_VIEWER_ASCII to PETSCVIEWERASCII to conform to new PETSc
conventions.



Modified: short/3D/PyLith/trunk/libsrc/meshio/DataWriterVTK.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/meshio/DataWriterVTK.cc	2010-05-24 01:45:11 UTC (rev 16771)
+++ short/3D/PyLith/trunk/libsrc/meshio/DataWriterVTK.cc	2010-05-24 02:01:35 UTC (rev 16772)
@@ -112,7 +112,7 @@
 
     err = PetscViewerCreate(mesh.comm(), &_viewer);
     CHECK_PETSC_ERROR(err);
-    err = PetscViewerSetType(_viewer, PETSC_VIEWER_ASCII);
+    err = PetscViewerSetType(_viewer, PETSCVIEWERASCII);
     CHECK_PETSC_ERROR(err);
     err = PetscViewerSetFormat(_viewer, PETSC_VIEWER_ASCII_VTK);
     CHECK_PETSC_ERROR(err);



More information about the CIG-COMMITS mailing list