MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <MeshalyzerMeshWriter.hpp>

Inheritance diagram for MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >:

Inheritance graph
[legend]
Collaboration diagram for MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MeshalyzerMeshWriter (const std::string &rDirectory, const std::string &rBaseName, const bool &rCleanDirectory=true, const bool &rSetCoolGraphics=false)
void WriteFiles ()
virtual ~MeshalyzerMeshWriter ()

Protected Member Functions

void CreateFilesWithHeaders ()
void AppendLocalDataToFiles ()

Private Member Functions

out_stream OpenNodeFile (bool append=false)
out_stream OpenElementFile (bool append=false)
out_stream OpenFaceFile (bool append=false)
void WriteMetaFile ()
void WriteFilesFooter ()
std::ios_base::openmode GetOpenMode (bool append)


Detailed Description

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
class MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >

A concrete Meshalyzer mesh writer class.

Definition at line 39 of file MeshalyzerMeshWriter.hpp.


Constructor & Destructor Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::MeshalyzerMeshWriter ( const std::string &  rDirectory,
const std::string &  rBaseName,
const bool &  rCleanDirectory = true,
const bool &  rSetCoolGraphics = false 
) [inline]

Constructor.

Parameters:
rDirectory the directory in which to write the mesh to file
rBaseName the base name of the files in which to write the mesh data
rCleanDirectory whether to clean the directory (defaults to true)
rSetCoolGraphics (defaults to false)

Definition at line 42 of file MeshalyzerMeshWriter.cpp.

References AbstractTetrahedralMeshWriter< ELEMENT_DIM, SPACE_DIM >::mIndexFromZero, and AbstractTetrahedralMeshWriter< ELEMENT_DIM, SPACE_DIM >::mWriteMetaFile.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::~MeshalyzerMeshWriter (  )  [inline, virtual]

Destructor.

Definition at line 182 of file MeshalyzerMeshWriter.cpp.


Member Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
out_stream MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::OpenNodeFile ( bool  append = false  )  [inline, private]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
out_stream MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::OpenElementFile ( bool  append = false  )  [inline, private]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
out_stream MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::OpenFaceFile ( bool  append = false  )  [inline, private]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteMetaFile (  )  [inline, private]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesFooter (  )  [inline, private, virtual]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
std::ios_base::openmode MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::GetOpenMode ( bool  append  )  [inline, private]

Get the mode to use when opening files.

Parameters:
append whether to append to the file, or overwrite it

Definition at line 206 of file MeshalyzerMeshWriter.cpp.

Referenced by MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::OpenElementFile(), MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::OpenFaceFile(), and MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::OpenNodeFile().

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::CreateFilesWithHeaders (  )  [inline, protected, virtual]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::AppendLocalDataToFiles (  )  [inline, protected, virtual]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFiles (  )  [inline, virtual]


The documentation for this class was generated from the following files:

Generated on Tue May 31 14:33:42 2011 for Chaste by  doxygen 1.5.5