[cig-commits] r19235 - in short/3D/PyLith/trunk: libsrc/pylith/meshio unittests/libtests/meshio

brad at geodynamics.org brad at geodynamics.org
Tue Nov 22 09:57:11 PST 2011


Author: brad
Date: 2011-11-22 09:57:11 -0800 (Tue, 22 Nov 2011)
New Revision: 19235

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc
   short/3D/PyLith/trunk/unittests/libtests/meshio/TestOutputSolnPoints.cc
Log:
Enabled more work for output soln points.

Modified: short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc	2011-11-22 14:06:17 UTC (rev 19234)
+++ short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc	2011-11-22 17:57:11 UTC (rev 19235)
@@ -124,7 +124,7 @@
   assert(cs->spaceDim() == spaceDim);
 
   err = DMMeshInterpolationSetDim(dm, spaceDim, _interpolator);CHECK_PETSC_ERROR(err);
-  err = DMMeshInterpolationAddPoints(dm, numPoints, (PetscReal *) points, _interpolator);CHECK_PETSC_ERROR(err);
+  err = DMMeshInterpolationAddPoints(dm, numPoints, (PetscReal*) points, _interpolator);CHECK_PETSC_ERROR(err);
   err = DMMeshInterpolationSetUp(dm, _interpolator);CHECK_PETSC_ERROR(err);
   err = DMDestroy(&dm);CHECK_PETSC_ERROR(err);
   CHECK_PETSC_ERROR(err);

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/TestOutputSolnPoints.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/TestOutputSolnPoints.cc	2011-11-22 14:06:17 UTC (rev 19234)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/TestOutputSolnPoints.cc	2011-11-22 17:57:11 UTC (rev 19235)
@@ -72,11 +72,9 @@
   cs.setSpaceDim(spaceDim);
   cs.initialize();
   mesh.coordsys(&cs);
-#if 0
   MeshIOAscii iohandler;
   iohandler.filename("data/quad4.mesh");
   iohandler.read(&mesh);
-#endif
 
   OutputSolnPoints output;
   output.setupInterpolator(&mesh, points, numPoints, spaceDim);
@@ -147,11 +145,9 @@
   cs.setSpaceDim(spaceDim);
   cs.initialize();
   mesh.coordsys(&cs);
-#if 0
   MeshIOAscii iohandler;
   iohandler.filename("data/hex8.mesh");
   iohandler.read(&mesh);
-#endif
 
   OutputSolnPoints output;
   output.setupInterpolator(&mesh, points, numPoints, spaceDim);



More information about the CIG-COMMITS mailing list