Chaste
Release::3.4
|
#include <ToroidalHoneycombVertexMeshGenerator.hpp>
Public Member Functions | |
ToroidalHoneycombVertexMeshGenerator (unsigned numElementsAcross, unsigned numElementsUp, double cellRearrangementThreshold=0.01, double t2Threshold=0.001) | |
MutableVertexMesh< 2, 2 > * | GetMesh () |
Toroidal2dVertexMesh * | GetToroidalMesh () |
Additional Inherited Members | |
Private Member Functions inherited from HoneycombVertexMeshGenerator | |
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 () |
Private Attributes inherited from HoneycombVertexMeshGenerator | |
MutableVertexMesh< 2, 2 > * | mpMesh |
Honeycomb mesh generator that creates a 2D "toroidal" mesh (one in which periodicity is imposed on the left and right and top and bottom boundaries) for use with vertex-based simulations.
NOTE: the user should delete the mesh after use to manage memory.
Definition at line 52 of file ToroidalHoneycombVertexMeshGenerator.hpp.
ToroidalHoneycombVertexMeshGenerator::ToroidalHoneycombVertexMeshGenerator | ( | unsigned | numElementsAcross, |
unsigned | numElementsUp, | ||
double | cellRearrangementThreshold = 0.01 , |
||
double | t2Threshold = 0.001 |
||
) |
Constructor.
numElementsAcross | The number of columns of elements in the mesh. This MUST be an even number. |
numElementsUp | The number of rows of elements in the mesh. This MUST be an even number. |
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) |
Definition at line 38 of file ToroidalHoneycombVertexMeshGenerator.cpp.
References HoneycombVertexMeshGenerator::mpMesh.
|
virtual |
Reimplemented from HoneycombVertexMeshGenerator.
Definition at line 120 of file ToroidalHoneycombVertexMeshGenerator.cpp.
References EXCEPTION, and HoneycombVertexMeshGenerator::mpMesh.
Toroidal2dVertexMesh * ToroidalHoneycombVertexMeshGenerator::GetToroidalMesh | ( | ) |
Definition at line 126 of file ToroidalHoneycombVertexMeshGenerator.cpp.
References HoneycombVertexMeshGenerator::mpMesh.