![]() |
Chaste
Release::3.4
|
#include <HoneycombVertexMeshGenerator.hpp>
Inheritance diagram for HoneycombVertexMeshGenerator:
Collaboration diagram for HoneycombVertexMeshGenerator:Public Member Functions | |
| HoneycombVertexMeshGenerator (unsigned numElementsAcross, unsigned numElementsUp, bool isFlatBottom=false, double cellRearrangementThreshold=0.01, double t2Threshold=0.001, double elementArea=0.5 *sqrt(3.0)) | |
| HoneycombVertexMeshGenerator () | |
| virtual | ~HoneycombVertexMeshGenerator () |
| virtual MutableVertexMesh< 2, 2 > * | GetMesh () |
Protected Attributes | |
| MutableVertexMesh< 2, 2 > * | mpMesh |
Honeycomb mesh generator that creates a 2D honeycomb mesh (with equal distance between nodes) for use in vertex simulations.
NOTE: the user should delete the mesh after use to manage memory.
Definition at line 50 of file HoneycombVertexMeshGenerator.hpp.
| HoneycombVertexMeshGenerator::HoneycombVertexMeshGenerator | ( | unsigned | numElementsAcross, |
| unsigned | numElementsUp, | ||
| bool | isFlatBottom = false, |
||
| double | cellRearrangementThreshold = 0.01, |
||
| double | t2Threshold = 0.001, |
||
| double | elementArea = 0.5*sqrt(3.0) |
||
| ) |
Constructor.
| numElementsAcross | The number of columns of elements in the mesh |
| numElementsUp | The number of rows of elements in the mesh |
| isFlatBottom | Whether to enforce a flat bottom to the mesh (defaults to false) |
| cellRearrangementThreshold | the minimum threshold distance for element rearrangement (defaults to 0.01) |
| t2Threshold | the maximum threshold distance for Type 2 swaps (defaults to 0.001) |
| elementArea | the element area, which has default value 0.5*sqrt(3.0) |
Definition at line 38 of file HoneycombVertexMeshGenerator.cpp.
References mpMesh, and AbstractMesh< ELEMENT_DIM, SPACE_DIM >::Scale().
|
inline |
Null constructor for derived classes to call.
Definition at line 79 of file HoneycombVertexMeshGenerator.hpp.
|
virtual |
Destructor - deletes the mesh object and pointer.
Definition at line 152 of file HoneycombVertexMeshGenerator.cpp.
References mpMesh.
|
virtual |
Reimplemented in CylindricalHoneycombVertexMeshGenerator, and ToroidalHoneycombVertexMeshGenerator.
Definition at line 157 of file HoneycombVertexMeshGenerator.cpp.
References mpMesh.
|
protected |
A pointer to the mesh this class creates
Definition at line 55 of file HoneycombVertexMeshGenerator.hpp.
Referenced by CylindricalHoneycombVertexMeshGenerator::CylindricalHoneycombVertexMeshGenerator(), CylindricalHoneycombVertexMeshGenerator::GetCylindricalMesh(), ToroidalHoneycombVertexMeshGenerator::GetMesh(), CylindricalHoneycombVertexMeshGenerator::GetMesh(), GetMesh(), ToroidalHoneycombVertexMeshGenerator::GetToroidalMesh(), HoneycombVertexMeshGenerator(), ToroidalHoneycombVertexMeshGenerator::ToroidalHoneycombVertexMeshGenerator(), and ~HoneycombVertexMeshGenerator().