[cig-commits] r17941 - in short/3D/PyLith/trunk/libsrc: topology utils

knepley at geodynamics.org knepley at geodynamics.org
Tue Feb 22 12:44:35 PST 2011


Author: knepley
Date: 2011-02-22 12:44:35 -0800 (Tue, 22 Feb 2011)
New Revision: 17941

Modified:
   short/3D/PyLith/trunk/libsrc/topology/Mesh.hh
   short/3D/PyLith/trunk/libsrc/utils/sievetypes.hh
Log:
Fixed Sieve types


Modified: short/3D/PyLith/trunk/libsrc/topology/Mesh.hh
===================================================================
--- short/3D/PyLith/trunk/libsrc/topology/Mesh.hh	2011-02-22 18:38:03 UTC (rev 17940)
+++ short/3D/PyLith/trunk/libsrc/topology/Mesh.hh	2011-02-22 20:44:35 UTC (rev 17941)
@@ -58,8 +58,8 @@
    *   (1) SieveSubMesh - SubMesh object
    */
   //@{
-  typedef ALE::IMesh<> SieveMesh;
-  typedef ALE::IMesh<ALE::LabelSifter<int, SieveMesh::point_type> > SieveSubMesh;
+  typedef ALE::IMesh<PetscInt,PetscScalar> SieveMesh;
+  typedef ALE::IMesh<PetscInt,PetscScalar,ALE::LabelSifter<int, SieveMesh::point_type> > SieveSubMesh;
 
   typedef SieveMesh::int_section_type IntSection;
   typedef SieveMesh::real_section_type RealSection;

Modified: short/3D/PyLith/trunk/libsrc/utils/sievetypes.hh
===================================================================
--- short/3D/PyLith/trunk/libsrc/utils/sievetypes.hh	2011-02-22 18:38:03 UTC (rev 17940)
+++ short/3D/PyLith/trunk/libsrc/utils/sievetypes.hh	2011-02-22 20:44:35 UTC (rev 17941)
@@ -30,10 +30,10 @@
 namespace pylith {
 
   /// Sieve mesh.
-  typedef ALE::IMesh<> Mesh;
+  typedef ALE::IMesh<PetscInt,PetscScalar> Mesh;
 
   /// Sieve submesh.
-  typedef ALE::IMesh<ALE::LabelSifter<int, Mesh::point_type> > SubMesh;
+  typedef ALE::IMesh<PetscInt,PetscScalar,ALE::LabelSifter<int, Mesh::point_type> > SubMesh;
 
 } // pylith
 



More information about the CIG-COMMITS mailing list