PottsMeshWriter< SPACE_DIM > Class Template Reference

#include <PottsMeshWriter.hpp>

Inherits AbstractMeshWriter< SPACE_DIM, SPACE_DIM >.

Collaboration diagram for PottsMeshWriter< SPACE_DIM >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PottsMeshWriter (const std::string &rDirectory, const std::string &rBaseName, const bool clearOutputDir=true)
 ~PottsMeshWriter ()
void WriteFilesUsingMesh (PottsMesh< SPACE_DIM > &rMesh)
std::vector< doubleGetNextNode ()
ElementData GetNextElement ()
void WriteFiles ()

Private Attributes

PottsMesh< SPACE_DIM > * mpMesh
MeshPottsWriterIterators
< SPACE_DIM > * 
mpIters
NodeMapmpNodeMap
unsigned mNodeMapCurrentIndex

Detailed Description

template<unsigned SPACE_DIM>
class PottsMeshWriter< SPACE_DIM >

A mesh writer class for potts-based meshes.

Definition at line 47 of file PottsMeshWriter.hpp.


Constructor & Destructor Documentation

template<unsigned SPACE_DIM>
PottsMeshWriter< SPACE_DIM >::PottsMeshWriter ( const std::string &  rDirectory,
const std::string &  rBaseName,
const bool  clearOutputDir = true 
) [inline]

Constructor.

Parameters:
rDirectory reference to the output directory, relative to where Chaste output is stored
rBaseName reference to the base name for results files
clearOutputDir whether to clear the output directory prior to writing files (defaults to true)

Definition at line 49 of file PottsMeshWriter.cpp.

References PottsMeshWriter< SPACE_DIM >::mpIters.

template<unsigned SPACE_DIM>
PottsMeshWriter< SPACE_DIM >::~PottsMeshWriter (  )  [inline]

Member Function Documentation

template<unsigned SPACE_DIM>
ElementData PottsMeshWriter< SPACE_DIM >::GetNextElement (  )  [inline, virtual]
template<unsigned SPACE_DIM>
std::vector< double > PottsMeshWriter< SPACE_DIM >::GetNextNode (  )  [inline, virtual]
template<unsigned SPACE_DIM>
void PottsMeshWriter< SPACE_DIM >::WriteFiles (  )  [inline, virtual]
template<unsigned SPACE_DIM>
void PottsMeshWriter< SPACE_DIM >::WriteFilesUsingMesh ( PottsMesh< SPACE_DIM > &  rMesh  )  [inline]

Member Data Documentation

template<unsigned SPACE_DIM>
unsigned PottsMeshWriter< SPACE_DIM >::mNodeMapCurrentIndex [private]

What was the last index written to mpNodeMap ?

Definition at line 64 of file PottsMeshWriter.hpp.

Referenced by PottsMeshWriter< SPACE_DIM >::WriteFilesUsingMesh().

template<unsigned SPACE_DIM>
MeshPottsWriterIterators<SPACE_DIM>* PottsMeshWriter< SPACE_DIM >::mpIters [private]
template<unsigned SPACE_DIM>
PottsMesh<SPACE_DIM>* PottsMeshWriter< SPACE_DIM >::mpMesh [private]

If writing from a mesh object, the mesh to write to disk. Otherwise NULL.

Definition at line 55 of file PottsMeshWriter.hpp.

Referenced by PottsMeshWriter< SPACE_DIM >::GetNextElement(), PottsMeshWriter< SPACE_DIM >::GetNextNode(), and PottsMeshWriter< SPACE_DIM >::WriteFilesUsingMesh().

template<unsigned SPACE_DIM>
NodeMap* PottsMeshWriter< SPACE_DIM >::mpNodeMap [private]

The documentation for this class was generated from the following files:
Generated on Thu Dec 22 13:07:22 2011 for Chaste by  doxygen 1.6.3