[cig-commits] r17107 - in short/3D/PyLith/trunk: libsrc/meshio modulesrc/meshio pylith

brad at geodynamics.org brad at geodynamics.org
Sun Aug 22 11:57:14 PDT 2010


Author: brad
Date: 2010-08-22 11:57:14 -0700 (Sun, 22 Aug 2010)
New Revision: 17107

Modified:
   short/3D/PyLith/trunk/libsrc/meshio/Makefile.am
   short/3D/PyLith/trunk/libsrc/meshio/meshiofwd.hh
   short/3D/PyLith/trunk/modulesrc/meshio/Makefile.am
   short/3D/PyLith/trunk/modulesrc/meshio/meshio.i
   short/3D/PyLith/trunk/pylith/Makefile.am
Log:
Added skeleton code for output with HDF5 files.

Modified: short/3D/PyLith/trunk/libsrc/meshio/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/libsrc/meshio/Makefile.am	2010-08-22 18:56:12 UTC (rev 17106)
+++ short/3D/PyLith/trunk/libsrc/meshio/Makefile.am	2010-08-22 18:57:14 UTC (rev 17107)
@@ -29,6 +29,9 @@
 	DataWriterVTK.hh \
 	DataWriterVTK.icc \
 	DataWriterVTK.cc \
+	DataWriterHDF5.hh \
+	DataWriterHDF5.icc \
+	DataWriterHDF5.cc \
 	MeshBuilder.hh \
 	MeshIO.hh \
 	MeshIO.icc \

Modified: short/3D/PyLith/trunk/libsrc/meshio/meshiofwd.hh
===================================================================
--- short/3D/PyLith/trunk/libsrc/meshio/meshiofwd.hh	2010-08-22 18:56:12 UTC (rev 17106)
+++ short/3D/PyLith/trunk/libsrc/meshio/meshiofwd.hh	2010-08-22 18:57:14 UTC (rev 17107)
@@ -49,6 +49,7 @@
     template<typename mesh_type, typename field_type> class OutputManager;
     template<typename mesh_type, typename field_type> class DataWriter;
     template<typename mesh_type, typename field_type> class DataWriterVTK;
+    template<typename mesh_type, typename field_type> class DataWriterHDF5;
     template<typename mesh_type, typename field_type> class CellFilter;
     template<typename mesh_type, typename field_type> class CellFilterAvg;
     template<typename field_type> class VertexFilter;

Modified: short/3D/PyLith/trunk/modulesrc/meshio/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/modulesrc/meshio/Makefile.am	2010-08-22 18:56:12 UTC (rev 17106)
+++ short/3D/PyLith/trunk/modulesrc/meshio/Makefile.am	2010-08-22 18:57:14 UTC (rev 17107)
@@ -36,6 +36,7 @@
 	CellFilterAvg.i \
 	DataWriter.i \
 	DataWriterVTK.i \
+	DataWriterHDF5.i \
 	OutputManager.i \
 	OutputSolnSubset.i
 

Modified: short/3D/PyLith/trunk/modulesrc/meshio/meshio.i
===================================================================
--- short/3D/PyLith/trunk/modulesrc/meshio/meshio.i	2010-08-22 18:56:12 UTC (rev 17106)
+++ short/3D/PyLith/trunk/modulesrc/meshio/meshio.i	2010-08-22 18:57:14 UTC (rev 17107)
@@ -35,6 +35,7 @@
 #include "pylith/meshio/CellFilterAvg.hh"
 #include "pylith/meshio/DataWriter.hh"
 #include "pylith/meshio/DataWriterVTK.hh"
+#include "pylith/meshio/DataWriterHDF5.hh"
 #include "pylith/meshio/OutputManager.hh"
 #include "pylith/meshio/OutputSolnSubset.hh"
 
@@ -69,6 +70,7 @@
 %include "CellFilterAvg.i"
 %include "DataWriter.i"
 %include "DataWriterVTK.i"
+%include "DataWriterHDF5.i"
 %include "OutputManager.i"
 %include "OutputSolnSubset.i"
 
@@ -91,6 +93,10 @@
 %template(SubMeshDataWriterVTK) pylith::meshio::DataWriterVTK<pylith::topology::SubMesh, pylith::topology::Field<pylith::topology::Mesh> >;
 %template(SubSubMeshDataWriterVTK) pylith::meshio::DataWriterVTK<pylith::topology::SubMesh, pylith::topology::Field<pylith::topology::SubMesh> >;
 
+%template(MeshDataWriterHDF5) pylith::meshio::DataWriterHDF5<pylith::topology::Mesh, pylith::topology::Field<pylith::topology::Mesh> >;
+%template(SubMeshDataWriterHDF5) pylith::meshio::DataWriterHDF5<pylith::topology::SubMesh, pylith::topology::Field<pylith::topology::Mesh> >;
+%template(SubSubMeshDataWriterHDF5) pylith::meshio::DataWriterHDF5<pylith::topology::SubMesh, pylith::topology::Field<pylith::topology::SubMesh> >;
+
 %template(MeshOutputManager) pylith::meshio::OutputManager<pylith::topology::Mesh, pylith::topology::Field<pylith::topology::Mesh> >;
 %template(SubMeshOutputManager) pylith::meshio::OutputManager<pylith::topology::SubMesh, pylith::topology::Field<pylith::topology::SubMesh> >;
 

Modified: short/3D/PyLith/trunk/pylith/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/pylith/Makefile.am	2010-08-22 18:56:12 UTC (rev 17106)
+++ short/3D/PyLith/trunk/pylith/Makefile.am	2010-08-22 18:57:14 UTC (rev 17107)
@@ -91,6 +91,10 @@
 	meshio/DataWriterVTKMesh.py \
 	meshio/DataWriterVTKSubMesh.py \
 	meshio/DataWriterVTKSubSubMesh.py \
+	meshio/DataWriterHDF5.py \
+	meshio/DataWriterHDF5Mesh.py \
+	meshio/DataWriterHDF5SubMesh.py \
+	meshio/DataWriterHDF5SubSubMesh.py \
 	meshio/MeshIOObj.py \
 	meshio/MeshIOAscii.py \
 	meshio/MeshIOCubit.py \



More information about the CIG-COMMITS mailing list