CuboidMeshConstructor< DIM > Class Template Reference

#include <CuboidMeshConstructor.hpp>

Collaboration diagram for CuboidMeshConstructor< DIM >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

std::string Construct (unsigned meshNum, double meshWidth)
double GetWidth ()

Public Attributes

unsigned NumElements
unsigned NumNodes

Private Member Functions

void ConstructHyperCube (TetrahedralMesh< 1, 1 > &rMesh, unsigned width)
void ConstructHyperCube (TetrahedralMesh< 2, 2 > &rMesh, unsigned width)
void ConstructHyperCube (TetrahedralMesh< 3, 3 > &rMesh, unsigned width)

Private Attributes

double mMeshWidth


Detailed Description

template<unsigned DIM>
class CuboidMeshConstructor< DIM >

Helper class for constructing cuboidal meshes.

Definition at line 43 of file CuboidMeshConstructor.hpp.


Member Function Documentation

template<unsigned DIM>
void CuboidMeshConstructor< DIM >::ConstructHyperCube ( TetrahedralMesh< 1, 1 > &  rMesh,
unsigned  width 
) [inline, private]

Construct a one-dimensional linear mesh.

Parameters:
rMesh The mesh
width Width of the mesh

Definition at line 39 of file CuboidMeshConstructor.cpp.

References TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructLinearMesh().

Referenced by CuboidMeshConstructor< DIM >::Construct().

template<unsigned DIM>
void CuboidMeshConstructor< DIM >::ConstructHyperCube ( TetrahedralMesh< 2, 2 > &  rMesh,
unsigned  width 
) [inline, private]

Construct a two-dimensional rectangular mesh.

Parameters:
rMesh The mesh
width Width of the mesh

Definition at line 45 of file CuboidMeshConstructor.cpp.

References TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructRectangularMesh().

template<unsigned DIM>
void CuboidMeshConstructor< DIM >::ConstructHyperCube ( TetrahedralMesh< 3, 3 > &  rMesh,
unsigned  width 
) [inline, private]

Construct a three-dimensional cuboidal mesh.

Parameters:
rMesh The mesh
width Width of the mesh

Definition at line 51 of file CuboidMeshConstructor.cpp.

References TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructCuboid().

template<unsigned DIM>
std::string CuboidMeshConstructor< DIM >::Construct ( unsigned  meshNum,
double  meshWidth 
) [inline]

template<unsigned DIM>
double CuboidMeshConstructor< DIM >::GetWidth (  )  [inline]


Member Data Documentation

template<unsigned DIM>
double CuboidMeshConstructor< DIM >::mMeshWidth [private]

Width of the mesh.

Definition at line 71 of file CuboidMeshConstructor.hpp.

Referenced by CuboidMeshConstructor< DIM >::Construct(), and CuboidMeshConstructor< DIM >::GetWidth().

template<unsigned DIM>
unsigned CuboidMeshConstructor< DIM >::NumElements

Number of elements in the mesh.

Todo:
Should be mNumElements and private

Definition at line 75 of file CuboidMeshConstructor.hpp.

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

template<unsigned DIM>
unsigned CuboidMeshConstructor< DIM >::NumNodes

Number of nodes in the mesh.

Todo:
Should be mNumNodes and private

Definition at line 76 of file CuboidMeshConstructor.hpp.

Referenced by CuboidMeshConstructor< DIM >::Construct().


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

Generated on Tue Aug 4 16:11:11 2009 for Chaste by  doxygen 1.5.5