[cig-commits] r7720 - short/3D/PyLith/trunk/unittests/pytests/feassemble

brad at geodynamics.org brad at geodynamics.org
Thu Jul 19 22:50:07 PDT 2007


Author: brad
Date: 2007-07-19 22:50:07 -0700 (Thu, 19 Jul 2007)
New Revision: 7720

Modified:
   short/3D/PyLith/trunk/unittests/pytests/feassemble/TestQuadrature.hh
   short/3D/PyLith/trunk/unittests/pytests/feassemble/TestQuadrature.icc
Log:
Fixed compiling bug (switch to getting vertices from CellGeometry).

Modified: short/3D/PyLith/trunk/unittests/pytests/feassemble/TestQuadrature.hh
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/feassemble/TestQuadrature.hh	2007-07-19 23:05:00 UTC (rev 7719)
+++ short/3D/PyLith/trunk/unittests/pytests/feassemble/TestQuadrature.hh	2007-07-20 05:50:07 UTC (rev 7720)
@@ -22,6 +22,7 @@
 #define pylith_feassemble_pytestquadrature_hh
 
 #include "pylith/feassemble/Quadrature.hh"
+#include "pylith/feassemble/CellGeometry.hh"
 
 /// Namespace for spatialdata package
 namespace pylith {

Modified: short/3D/PyLith/trunk/unittests/pytests/feassemble/TestQuadrature.icc
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/feassemble/TestQuadrature.icc	2007-07-19 23:05:00 UTC (rev 7719)
+++ short/3D/PyLith/trunk/unittests/pytests/feassemble/TestQuadrature.icc	2007-07-20 05:50:07 UTC (rev 7720)
@@ -46,7 +46,7 @@
 inline
 const double*
 pylith::feassemble::TestQuadrature::vertices(const Quadrature& q) {
-  return &q._vertices[0];
+  return &q._geometry->vertices()[0];
 }
 
 // Get basis functions evaluated at quadrature points.



More information about the cig-commits mailing list