[cig-commits] r14464 - in short/3D/PyLith/branches/pylith-swig/unittests/libtests: feassemble topology
brad at geodynamics.org
brad at geodynamics.org
Wed Mar 25 21:08:12 PDT 2009
Author: brad
Date: 2009-03-25 21:08:11 -0700 (Wed, 25 Mar 2009)
New Revision: 14464
Modified:
short/3D/PyLith/branches/pylith-swig/unittests/libtests/feassemble/TestQuadrature.cc
short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestFieldMesh.cc
short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestFieldSubMesh.cc
short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestSubMesh.cc
Log:
Added clearing of numbering.
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/feassemble/TestQuadrature.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/feassemble/TestQuadrature.cc 2009-03-26 03:18:07 UTC (rev 14463)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/feassemble/TestQuadrature.cc 2009-03-26 04:08:11 UTC (rev 14464)
@@ -210,6 +210,7 @@
sieveMesh->stratify();
ALE::SieveBuilder<SieveMesh>::buildCoordinates(sieveMesh, spaceDim,
data.vertices);
+ sieveMesh->getFactory()->clear(); // clear numberings
// Setup quadrature and compute geometry
GeometryTri2D geometry;
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestFieldMesh.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestFieldMesh.cc 2009-03-26 03:18:07 UTC (rev 14463)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestFieldMesh.cc 2009-03-26 04:08:11 UTC (rev 14464)
@@ -893,6 +893,7 @@
sieveMesh->stratify();
ALE::SieveBuilder<Mesh::SieveMesh>::buildCoordinates(sieveMesh, spaceDim,
coordinates);
+ sieveMesh->getFactory()->clear(); // clear numberings
spatialdata::geocoords::CSCart cs;
cs.setSpaceDim(spaceDim);
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestFieldSubMesh.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestFieldSubMesh.cc 2009-03-26 03:18:07 UTC (rev 14463)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestFieldSubMesh.cc 2009-03-26 04:08:11 UTC (rev 14464)
@@ -922,6 +922,7 @@
sieveMesh->stratify();
ALE::SieveBuilder<SieveMesh>::buildCoordinates(sieveMesh, spaceDim,
coordinates);
+ sieveMesh->getFactory()->clear(); // clear numberings
typedef Mesh::SieveMesh::int_section_type::chart_type chart_type;
const ALE::Obj<SieveMesh::int_section_type>& groupField =
@@ -942,6 +943,8 @@
cs.initialize();
mesh->coordsys(&cs);
+ sieveMesh->getFactory()->clear();
+
submesh->createSubMesh(*mesh, _TestFieldSubMesh::label);
} // _buildMesh
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestSubMesh.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestSubMesh.cc 2009-03-26 03:18:07 UTC (rev 14463)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/topology/TestSubMesh.cc 2009-03-26 04:08:11 UTC (rev 14464)
@@ -231,6 +231,7 @@
sieveMesh->stratify();
ALE::SieveBuilder<Mesh::SieveMesh>::buildCoordinates(sieveMesh, spaceDim,
coordinates);
+ sieveMesh->getFactory()->clear(); // clear numberings
spatialdata::geocoords::CSCart cs;
cs.setSpaceDim(spaceDim);
More information about the CIG-COMMITS
mailing list