[cig-commits] r14657 - in short/3D/PyLith/branches/pylith-swig: libsrc/meshio modulesrc/meshio

brad at geodynamics.org brad at geodynamics.org
Fri Apr 10 13:46:42 PDT 2009


Author: brad
Date: 2009-04-10 13:46:42 -0700 (Fri, 10 Apr 2009)
New Revision: 14657

Added:
   short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/CellFilter.i
   short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/CellFilterAvg.i
   short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/DataWriter.i
   short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/DataWriterVTK.i
   short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/OutputManager.i
   short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/OutputSolnSubset.i
   short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/VertexFilter.i
   short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/VertexFilterVecNorm.i
Modified:
   short/3D/PyLith/branches/pylith-swig/libsrc/meshio/VertexFilterVecNorm.hh
   short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/Makefile.am
   short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/meshio.i
Log:
Updated SWIG stuff for output.

Modified: short/3D/PyLith/branches/pylith-swig/libsrc/meshio/VertexFilterVecNorm.hh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/libsrc/meshio/VertexFilterVecNorm.hh	2009-04-10 20:43:44 UTC (rev 14656)
+++ short/3D/PyLith/branches/pylith-swig/libsrc/meshio/VertexFilterVecNorm.hh	2009-04-10 20:46:42 UTC (rev 14657)
@@ -23,7 +23,7 @@
 // Include directives ---------------------------------------------------
 #include "VertexFilter.hh" // ISA VertexFilter
 
-// CellFilter -----------------------------------------------------------
+// VertexFilterVecNorm --------------------------------------------------
 template<typename mesh_type>
 class pylith::meshio::VertexFilterVecNorm : public VertexFilter<mesh_type>
 { // VertexFilterVecNorm

Added: short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/CellFilter.i
===================================================================
--- short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/CellFilter.i	                        (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/CellFilter.i	2009-04-10 20:46:42 UTC (rev 14657)
@@ -0,0 +1,68 @@
+// -*- C++ -*-
+//
+// ======================================================================
+//
+//                           Brad T. Aagaard
+//                        U.S. Geological Survey
+//
+// {LicenseText}
+//
+// ======================================================================
+//
+
+/**
+ * @file modulesrc/meshio/CellFilter.i
+ *
+ * @brief Python interface to C++ CellFilter object.
+ */
+
+namespace pylith {
+  namespace meshio {
+
+    template<typename mesh_type>
+    class pylith::meshio::CellFilter
+    { // CellFilter
+
+      // PUBLIC METHODS /////////////////////////////////////////////////
+    public :
+      
+      /// Constructor
+      CellFilter(void);
+      
+      /// Destructor
+      ~CellFilter(void);
+      
+      /** Create copy of filter.
+       *
+       * @returns Copy of filter.
+       */
+      virtual
+      CellFilter* clone(void) const = 0;
+      
+      /** Set quadrature associated with cells.
+       *
+       * @param q Quadrature for cells.
+       */
+      void quadrature(const pylith::feassemble::Quadrature<mesh_type>* q);
+
+      /** Filter field. Field type of filtered field is returned via an argument.
+       *
+       * @param fieldIn Field to filter.
+       * @param label Value of label of cells to filter.
+       * @param labelId Id associated with label of cells to filter.
+       *
+       * @returns Averaged field.
+       */
+      virtual
+      const pylith::topology::Field<mesh_type>&
+      filter(const pylith::topology::Field<mesh_type>& fieldIn,
+	     const char* label =0,
+	     const int labelId =0) = 0;
+
+    }; // CellFilter
+
+  } // meshio
+} // pylith
+
+
+// End of file 

Added: short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/CellFilterAvg.i
===================================================================
--- short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/CellFilterAvg.i	                        (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/CellFilterAvg.i	2009-04-10 20:46:42 UTC (rev 14657)
@@ -0,0 +1,60 @@
+// -*- C++ -*-
+//
+// ======================================================================
+//
+//                           Brad T. Aagaard
+//                        U.S. Geological Survey
+//
+// {LicenseText}
+//
+// ======================================================================
+//
+
+/**
+ * @file modulesrc/meshio/CellFilterAvg.i
+ *
+ * @brief Python interface to C++ CellFilterAvg object.
+ */
+
+namespace pylith {
+  namespace meshio {
+
+    template<typename mesh_type>
+    class pylith::meshio::CellFilterAvg : public CellFilter<mesh_type>
+    { // CellFilterAvg
+
+      // PUBLIC METHODS /////////////////////////////////////////////////
+    public :
+
+      /// Constructor
+      CellFilterAvg(void);
+
+      /// Destructor
+      ~CellFilterAvg(void);
+
+      /** Create copy of filter.
+       *
+       * @returns Copy of filter.
+       */
+      CellFilter<mesh_type>* clone(void) const;
+      
+      /** Filter field over cells.
+       *
+       * @param fieldIn Field to filter.
+       * @param label Label identifying cells.
+       * @param labelId Value of label of cells to filter.
+       *
+       * @returns Averaged field.
+       */
+      const pylith::topology::Field<mesh_type>&
+      filter(const pylith::topology::Field<mesh_type>& fieldIn,
+	     const char* label =0,
+	     const int labelId =0);
+
+    }; // CellFilterAvg
+
+  } // meshio
+} // pylith
+
+
+// End of file 

Added: short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/DataWriter.i
===================================================================
--- short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/DataWriter.i	                        (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/DataWriter.i	2009-04-10 20:46:42 UTC (rev 14657)
@@ -0,0 +1,108 @@
+// -*- C++ -*-
+//
+// ======================================================================
+//
+//                           Brad T. Aagaard
+//                        U.S. Geological Survey
+//
+// {LicenseText}
+//
+// ======================================================================
+//
+
+/**
+ * @file modulesrc/meshio/DataWriter.i
+ *
+ * @brief Python interface to C++ DataWriter object.
+ */
+
+namespace pylith {
+  namespace meshio {
+
+    template<typename mesh_type>
+    class pylith::meshio::DataWriter
+    { // DataWriter
+
+      // PUBLIC METHODS /////////////////////////////////////////////////
+    public :
+
+      /// Constructor
+      DataWriter(void);
+
+      /// Destructor
+      virtual
+      ~DataWriter(void);
+      
+      /** Make copy of this object.
+       *
+       * @returns Copy of this.
+       */
+      virtual
+      DataWriter* clone(void) const = 0;
+      
+      /** Prepare for writing files.
+       *
+       * @param mesh Finite-element mesh. 
+       * @param numTimeSteps Expected number of time steps for fields.
+       * @param label Name of label defining cells to include in output
+       *   (=0 means use all cells in mesh).
+       * @param labelId Value of label defining which cells to include.
+       */
+      virtual
+      void open(const mesh_type& mesh,
+		const int numTimeSteps,
+		const char* label =0,
+		const int labelId =0);
+      
+      /// Close output files.
+      virtual
+      void close(void);
+      
+      /** Prepare file for data at a new time step.
+       *
+       * @param t Time stamp for new data
+       * @param mesh PETSc mesh object
+       * @param label Name of label defining cells to include in output
+       *   (=0 means use all cells in mesh).
+       * @param labelId Value of label defining which cells to include.
+       */
+      virtual
+      void openTimeStep(const double t,
+			const mesh_type& mesh,
+			const char* label =0,
+			const int labelId =0);
+      
+      /// Cleanup after writing data for a time step.
+      virtual
+      void closeTimeStep(void);
+      
+      /** Write field over vertices to file.
+       *
+       * @param t Time associated with field.
+       * @param field Field over vertices.
+       */
+      virtual
+      void writeVertexField(const double t,
+			    const pylith::topology::Field<mesh_type>& field) = 0;
+      
+      /** Write field over cells to file.
+       *
+       * @param t Time associated with field.
+       * @param field Field over cells.
+       * @param label Name of label defining cells to include in output
+       *   (=0 means use all cells in mesh).
+       * @param labelId Value of label defining which cells to include.
+       */
+      virtual
+      void writeCellField(const double t,
+			  const pylith::topology::Field<mesh_type>& field,
+			  const char* label =0,
+			  const int labelId =0) = 0;
+
+    }; // DataWriter
+
+  } // meshio
+} // pylith
+
+
+// End of file 

Added: short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/DataWriterVTK.i
===================================================================
--- short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/DataWriterVTK.i	                        (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/DataWriterVTK.i	2009-04-10 20:46:42 UTC (rev 14657)
@@ -0,0 +1,105 @@
+// -*- C++ -*-
+//
+// ======================================================================
+//
+//                           Brad T. Aagaard
+//                        U.S. Geological Survey
+//
+// {LicenseText}
+//
+// ======================================================================
+//
+
+/**
+ * @file modulesrc/meshio/DataWriterVTK.i
+ *
+ * @brief Python interface to C++ DataWriterVTK object.
+ */
+
+namespace pylith {
+  namespace meshio {
+
+    template<typename mesh_type>
+    class pylith::meshio::DataWriterVTK : public DataWriter<mesh_type>
+    { // DataWriterVTK  
+      
+      // PUBLIC METHODS /////////////////////////////////////////////////
+    public :
+
+      /// Constructor
+      DataWriterVTK(void);
+      
+      /// Destructor
+      ~DataWriterVTK(void);
+      
+      /** Make copy of this object.
+       *
+       * @returns Copy of this.
+       */
+      DataWriter<mesh_type>* clone(void) const;
+      
+      /** Set filename for VTK file.
+       *
+       * @param filename Name of VTK file.
+       */
+      void filename(const char* filename);
+      
+      /** Set time format for time stamp in name of VTK file.
+       *
+       * @param format C style time format for filename.
+       */
+      void timeFormat(const char* format);
+      
+      /** Set value used to normalize time stamp in name of VTK file.
+       *
+       * Time stamp is divided by this value (time in seconds).
+       *
+       * @param value Value (time in seconds) used to normalize time stamp in
+       * filename.
+       */
+      void timeConstant(const double value);
+      
+      /** Prepare file for data at a new time step.
+       *
+       * @param t Time stamp for new data
+       * @param mesh Finite-element mesh.
+       * @param label Name of label defining cells to include in output
+       *   (=0 means use all cells in mesh).
+       * @param labelId Value of label defining which cells to include.
+       */
+      void openTimeStep(const double t,
+			const mesh_type& mesh,
+			const char* label =0,
+			const int labelId =0);
+      
+      /// Cleanup after writing data for a time step.
+      void closeTimeStep(void);
+      
+      /** Write field over vertices to file.
+       *
+       * @param t Time associated with field.
+       * @param field Field over vertices.
+       */
+      void writeVertexField(const double t,
+			    const pylith::topology::Field<mesh_type>& field);
+      
+      /** Write field over cells to file.
+       *
+       * @param t Time associated with field.
+       * @param field Field over cells.
+       * @param label Name of label defining cells to include in output
+       *   (=0 means use all cells in mesh).
+       * @param labelId Value of label defining which cells to include.
+       */
+      void writeCellField(const double t,
+			  const pylith::topology::Field<mesh_type>& field,
+			  const char* label =0,
+			  const int labelId =0);
+      
+    }; // DataWriterVTK
+
+  } // meshio
+} // pylith
+
+
+// End of file 

Modified: short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/Makefile.am
===================================================================
--- short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/Makefile.am	2009-04-10 20:43:44 UTC (rev 14656)
+++ short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/Makefile.am	2009-04-10 20:46:42 UTC (rev 14657)
@@ -22,7 +22,12 @@
 	MeshIOObj.i \
 	MeshIOAscii.i \
 	MeshIOLagrit.i \
-	MeshIOCubit.i
+	MeshIOCubit.i \
+	VertexFilter.i \
+	VertexFilterVecNorm.i \
+	DataWriter.i \
+	DataWriterVTK.i \
+	OutputManager.i
 
 swig_generated = \
 	meshio_wrap.cxx \

Added: short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/OutputManager.i
===================================================================
--- short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/OutputManager.i	                        (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/OutputManager.i	2009-04-10 20:46:42 UTC (rev 14657)
@@ -0,0 +1,120 @@
+// -*- C++ -*-
+//
+// ======================================================================
+//
+//                           Brad T. Aagaard
+//                        U.S. Geological Survey
+//
+// {LicenseText}
+//
+// ======================================================================
+//
+
+/**
+ * @file modulesrc/meshio/OutputManager.i
+ *
+ * @brief Python interface to C++ OutputManager object.
+ */
+
+namespace pylith {
+  namespace meshio {
+
+    template<typename mesh_type>
+    class pylith::meshio::OutputManager
+    { // OutputManager
+
+      // PUBLIC METHODS /////////////////////////////////////////////////
+    public :
+
+      /// Constructor
+      OutputManager(void);
+      
+      /// Destructor
+      virtual
+      ~OutputManager(void);
+      
+      /** Set coordinate system in output. The vertex fields in the output
+       * are not affected by any change in coordinates.
+       *
+       * @param cs Coordinate system in output.
+       */
+      void coordsys(const spatialdata::geocoords::CoordSys* cs);
+      
+      /** Set writer to write data to file.
+       *
+       * @param datawriter Writer for data.
+       */
+      void writer(const DataWriter<mesh_type>* datawriter);
+      
+      /** Set filter for vertex data.
+       *
+       * @param filter Filter to apply to vertex data before writing.
+       */
+      void vertexFilter(const VertexFilter<mesh_type>* filter);
+      
+      /** Set filter for cell data.
+       *
+       * @param filter Filter to apply to cell data before writing.
+       */
+      void cellFilter(const CellFilter<mesh_type>* filter);
+      
+      /** Prepare for output.
+       *
+       * @param mesh Finite-element mesh object.
+       * @param numTimeSteps Expected number of time steps.
+       * @param label Name of label defining cells to include in output
+       *   (=0 means use all cells in mesh).
+       * @param labelId Value of label defining which cells to include.
+       */
+      void open(const mesh_type& mesh,
+		const int numTimeSteps,
+		const char* label =0,
+		const int labelId =0);
+      
+      /// Close output files.
+      void close(void);
+      
+      /** Setup file for writing fields at time step.
+       *
+       * @param t Time of time step.
+       * @param mesh Finite-element mesh object.
+       * @param label Name of label defining cells to include in output
+       *   (=0 means use all cells in mesh).
+       * @param labelId Value of label defining which cells to include.
+       */
+      void openTimeStep(const double t,
+			const mesh_type& mesh,
+			const char* label =0,
+			const int labelId =0);
+      
+      /// End writing fields at time step.
+      void closeTimeStep(void);
+      
+      /** Append finite-element vertex field to file.
+       *
+       * @param t Time associated with field.
+       * @param field Vertex field.
+       */
+      void appendVertexField(const double t,
+			     const pylith::topology::Field<mesh_type>& field);
+      
+      /** Append finite-element cell field to file.
+       *
+       * @param t Time associated with field.
+       * @param field Cell field.
+       * @param label Name of label defining cells to include in output
+       *   (=0 means use all cells in mesh).
+       * @param labelId Value of label defining which cells to include.
+       */
+      void appendCellField(const double t,
+			   const pylith::topology::Field<mesh_type>& field,
+			   const char* label =0,
+			   const int labelId =0);
+
+    }; // OutputManager
+
+  } // meshio
+} // pylith
+
+
+// End of file 

Added: short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/OutputSolnSubset.i
===================================================================
--- short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/OutputSolnSubset.i	                        (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/OutputSolnSubset.i	2009-04-10 20:46:42 UTC (rev 14657)
@@ -0,0 +1,59 @@
+// -*- C++ -*-
+//
+// ======================================================================
+//
+//                           Brad T. Aagaard
+//                        U.S. Geological Survey
+//
+// {LicenseText}
+//
+// ======================================================================
+//
+
+/**
+ * @file modulesrc/meshio/OutputSolnSubset.i
+ *
+ * @brief Python interface to C++ OutputSolnSubset object.
+ */
+
+namespace pylith {
+  namespace meshio {
+
+    class pylith::meshio::OutputSolnSubset : public OutputManager<pylith::topology::SubMesh>
+    { // OutputSolnSubset
+
+      // PUBLIC METHODS /////////////////////////////////////////////////
+    public :
+
+      /// Constructor
+      OutputSolnSubset(void);
+      
+      /// Destructor
+      ~OutputSolnSubset(void);
+      
+      /** Set label identifier for subdomain.
+       *
+       * @param value Label of subdomain.
+       */
+      void label(const char* value);
+      
+      /** Verify configuration.
+       *
+       * @param mesh PETSc mesh
+       */
+      void verifyConfiguration(const pylith::topology::Mesh& mesh) const;
+
+      /** Get mesh associated with subdomain.
+       *
+       * @returns Mesh associated with subdomain.
+       */
+      const pylith::topology::SubMesh& subdomainMesh(const pylith::topology::Mesh& mesh);
+  
+
+    }; // OutputSolnSubset
+
+  } // meshio
+} // pylith
+
+
+// End of file 

Added: short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/VertexFilter.i
===================================================================
--- short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/VertexFilter.i	                        (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/VertexFilter.i	2009-04-10 20:46:42 UTC (rev 14657)
@@ -0,0 +1,56 @@
+// -*- C++ -*-
+//
+// ======================================================================
+//
+//                           Brad T. Aagaard
+//                        U.S. Geological Survey
+//
+// {LicenseText}
+//
+// ======================================================================
+//
+
+/**
+ * @file modulesrc/meshio/VertexFilter.i
+ *
+ * @brief Python interface to C++ VertexFilter object.
+ */
+
+namespace pylith {
+  namespace meshio {
+
+    template<typename mesh_type>
+    class pylith::meshio::VertexFilter
+    { // VertexFilter
+
+      // PUBLIC METHODS /////////////////////////////////////////////////
+    public :
+
+      /// Constructor
+      VertexFilter(void);
+      
+      /// Destructor
+      ~VertexFilter(void);
+      
+      /** Create copy of filter.
+       *
+       * @returns Copy of filter.
+       */
+      virtual
+      VertexFilter* clone(void) const = 0;
+      
+      /** Filter field over vertices of a mesh.
+       *
+       * @param fieldIn Field to filter.
+       */
+      virtual
+      const pylith::topology::Field<mesh_type>&
+      filter(const pylith::topology::Field<mesh_type>& fieldIn) = 0;
+
+    }; // VertexFilter
+
+  } // meshio
+} // pylith
+
+
+// End of file 

Added: short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/VertexFilterVecNorm.i
===================================================================
--- short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/VertexFilterVecNorm.i	                        (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/VertexFilterVecNorm.i	2009-04-10 20:46:42 UTC (rev 14657)
@@ -0,0 +1,54 @@
+// -*- C++ -*-
+//
+// ======================================================================
+//
+//                           Brad T. Aagaard
+//                        U.S. Geological Survey
+//
+// {LicenseText}
+//
+// ======================================================================
+//
+
+/**
+ * @file modulesrc/meshio/VertexFilterVecNorm.i
+ *
+ * @brief Python interface to C++ VertexFilterVecNorm object.
+ */
+
+namespace pylith {
+  namespace meshio {
+
+    template<typename mesh_type>
+    class pylith::meshio::VertexFilterVecNorm : public VertexFilter<mesh_type>
+    { // VertexFilterVecNorm
+
+      // PUBLIC METHODS /////////////////////////////////////////////////
+    public :
+
+      /// Constructor
+      VertexFilterVecNorm(void);
+
+      /// Destructor
+      ~VertexFilterVecNorm(void);
+      
+      /** Create copy of filter.
+       *
+       * @returns Copy of filter.
+       */
+      VertexFilter<mesh_type>* clone(void) const;
+      
+      /** Filter vertex field.
+       *
+       * @param fieldIn Field to filter.
+       */
+      const pylith::topology::Field<mesh_type>&
+      filter(const pylith::topology::Field<mesh_type>& fieldIn);
+      
+    }; // VertexFilterVecNorm
+
+  } // meshio
+} // pylith
+
+
+// End of file 

Modified: short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/meshio.i
===================================================================
--- short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/meshio.i	2009-04-10 20:43:44 UTC (rev 14656)
+++ short/3D/PyLith/branches/pylith-swig/modulesrc/meshio/meshio.i	2009-04-10 20:46:42 UTC (rev 14657)
@@ -20,6 +20,15 @@
 #include "pylith/meshio/MeshIOLagrit.hh"
 #include "pylith/meshio/MeshIOCubit.hh"
 
+#include "pylith/meshio/VertexFilter.hh"
+#include "pylith/meshio/VertexFilterVecNorm.hh"
+#include "pylith/meshio/CellFilter.hh"
+#include "pylith/meshio/CellFilterAvg.hh"
+#include "pylith/meshio/DataWriter.hh"
+#include "pylith/meshio/DataWriterVTK.hh"
+#include "pylith/meshio/OutputManager.hh"
+#include "pylith/meshio/OutputSolnSubset.hh"
+
 #include "pylith/utils/arrayfwd.hh"
 %}
 
@@ -40,6 +49,32 @@
 %include "MeshIOLagrit.i"
 %include "MeshIOCubit.i"
 
+%include "VertexFilter.i"
+%include "VertexFilterVecNorm.i"
+%include "CellFilter.i"
+%include "CellFilterAvg.i"
+%include "DataWriter.i"
+%include "DataWriterVTK.i"
+%include "OutputManager.i"
+%include "OutputSolnSubset.i"
 
+// Template instatiation
+%template(MeshVertexFilter) pylith::meshio::VertexFilter<pylith::topology::Mesh>;
+%template(SubMeshVertexFilter) pylith::meshio::VertexFilter<pylith::topology::SubMesh>;
+%template(MeshVertexFilterVecNorm) pylith::meshio::VertexFilterVecNorm<pylith::topology::Mesh>;
+%template(SubMeshVertexFilterVecNorm) pylith::meshio::VertexFilterVecNorm<pylith::topology::SubMesh>;
+
+%template(MeshCellFilter) pylith::meshio::CellFilter<pylith::topology::Mesh>;
+%template(SubMeshCellFilter) pylith::meshio::CellFilter<pylith::topology::SubMesh>;
+%template(MeshCellFilterAvg) pylith::meshio::CellFilterAvg<pylith::topology::Mesh>;
+%template(SubMeshCellFilterAvg) pylith::meshio::CellFilterAvg<pylith::topology::SubMesh>;
+
+%template(MeshDataWriter) pylith::meshio::DataWriter<pylith::topology::Mesh>;
+%template(SubMeshDataWriter) pylith::meshio::DataWriter<pylith::topology::SubMesh>;
+%template(MeshDataWriterVTK) pylith::meshio::DataWriterVTK<pylith::topology::Mesh>;
+%template(SubMeshDataWriterVTK) pylith::meshio::DataWriterVTK<pylith::topology::SubMesh>;
+
+%template(MeshOutputManager) pylith::meshio::OutputManager<pylith::topology::Mesh>;
+%template(SubMeshOutputManager) pylith::meshio::OutputManager<pylith::topology::SubMesh>;
 // End of file
 



More information about the CIG-COMMITS mailing list