Chaste
Release::2018.1
|
#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 46 of file CuboidMeshConstructor.hpp.
void CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::Construct | ( | AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > & | rMesh, |
unsigned | meshRefinementNum, | ||
double | meshWidth | ||
) |
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 40 of file CuboidMeshConstructor.cpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructRegularSlabMesh(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetNumElements(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), and SmallPow().
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
unsigned CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetNumElements | ( | ) |
Definition at line 63 of file CuboidMeshConstructor.cpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
unsigned CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetNumNodes | ( | ) |
Definition at line 69 of file CuboidMeshConstructor.cpp.
double CuboidMeshConstructor< ELEMENT_DIM, SPACE_DIM >::GetWidth | ( | ) |
Definition at line 57 of file CuboidMeshConstructor.cpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
|
private |
Width of the mesh.
Definition at line 50 of file CuboidMeshConstructor.hpp.
|
private |
Number of elements in the mesh.
Definition at line 51 of file CuboidMeshConstructor.hpp.
|
private |
Number of nodes in the mesh.
Definition at line 52 of file CuboidMeshConstructor.hpp.