CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <CuboidMeshConstructor.hpp>

Collaboration diagram for CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void Construct (AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > &rMesh, unsigned meshRefinementNum, double meshWidth)
double GetWidth ()
unsigned GetNumElements ()
unsigned GetNumNodes ()

Private Attributes

double mMeshWidth
unsigned mNumElements
unsigned mNumNodes


Detailed Description

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM>
class CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >

Helper class for constructing cuboidal meshes.

Definition at line 43 of file CuboidMeshConstructor.hpp.


Member Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::Construct ( AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > &  rMesh,
unsigned  meshRefinementNum,
double  meshWidth 
) [inline]

Construct the mesh.

Parameters:
rMesh Input a blank mesh in which to construct the result
meshRefinementNum Index for the mesh starting at 0 (4 elements in each space dimension)
meshWidth Width of the mesh (in cm)
(used to return a path to the mesh stored on the disk)

Definition at line 41 of file CuboidMeshConstructor.cpp.

References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructRegularSlabMesh(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetNumElements(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mMeshWidth, CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mNumElements, and CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mNumNodes.

Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
double CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetWidth (  )  [inline]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
unsigned CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetNumElements (  )  [inline]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
unsigned CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetNumNodes (  )  [inline]

Get the number of nodes in the mesh.

Definition at line 70 of file CuboidMeshConstructor.cpp.

References CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mNumNodes.


Member Data Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM>
double CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mMeshWidth [private]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM>
unsigned CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mNumElements [private]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM>
unsigned CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mNumNodes [private]


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

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