#include <CuboidMeshConstructor.hpp>
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 |
Helper class for constructing cuboidal meshes.
Definition at line 39 of file CuboidMeshConstructor.hpp.
void CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::Construct | ( | AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > & | rMesh, | |
unsigned | meshRefinementNum, | |||
double | meshWidth | |||
) | [inline] |
Construct the mesh.
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 33 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().
unsigned CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetNumElements | ( | ) | [inline] |
Get the number of elements in the mesh.
Definition at line 56 of file CuboidMeshConstructor.cpp.
References CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mNumElements.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
unsigned CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetNumNodes | ( | ) | [inline] |
Get the number of nodes in the mesh.
Definition at line 62 of file CuboidMeshConstructor.cpp.
References CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mNumNodes.
double CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetWidth | ( | ) | [inline] |
Get the width of the mesh.
Definition at line 50 of file CuboidMeshConstructor.cpp.
References CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mMeshWidth.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
double CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mMeshWidth [private] |
Width of the mesh.
Definition at line 43 of file CuboidMeshConstructor.hpp.
Referenced by CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::Construct(), and CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetWidth().
unsigned CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mNumElements [private] |
Number of elements in the mesh.
Definition at line 44 of file CuboidMeshConstructor.hpp.
Referenced by CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::Construct(), and CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetNumElements().
unsigned CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::mNumNodes [private] |
Number of nodes in the mesh.
Definition at line 45 of file CuboidMeshConstructor.hpp.
Referenced by CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::Construct(), and CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetNumNodes().