Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

SimpleTetMeshWriter.h

Go to the documentation of this file.
00001 #ifndef SIMPLETETMESHWRITER_H
00002 #define SIMPLETETMESHWRITER_H
00003 
00004 #include "SundanceDefs.h"
00005 
00006 #include "MeshWriter.h"
00007 
00008 
00009 namespace Sundance
00010 {
00011 
00012   using namespace TSF;
00013   using std::string;
00014 
00015   using std::ostream;
00016 
00017   /** \ingroup UserLevelGeometry
00018    * Writes a tetrahedral mesh to a simple file format.
00019    *
00020    * The format is:
00021    * nPts
00022    * x0 y0 z0
00023    * x1 y1 z1
00024    * ...
00025    * nTets
00026    * a0 b0 c0 d0
00027    * a1 b1 c1 d1
00028    */
00029 
00030   class SimpleTetMeshWriter : public MeshWriterBase
00031     {
00032     public:
00033       SimpleTetMeshWriter() : MeshWriterBase() {;}
00034       virtual ~SimpleTetMeshWriter() {;}
00035 
00036       virtual void write(const string& filename,
00037                          const Mesh& mesh) const ;
00038 
00039     protected:
00040 
00041     };
00042 
00043 }
00044 #endif

Contact:
Kevin Long (krlong@ca.sandia.gov)


Documentation generated by