Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
|
#include <CylindricalHoneycombVertexMeshGenerator.hpp>
Public Member Functions | |
CylindricalHoneycombVertexMeshGenerator (unsigned numElementsAcross, unsigned numElementsUp, bool isFlatBottom=false, double cellRearrangementThreshold=0.01, double t2Threshold=0.001) | |
boost::shared_ptr< MutableVertexMesh< 2, 2 > > | GetMesh () |
boost::shared_ptr< Cylindrical2dVertexMesh > | GetCylindricalMesh () |
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 ()=default |
Private Attributes inherited from HoneycombVertexMeshGenerator | |
boost::shared_ptr< MutableVertexMesh< 2, 2 > > | mpMesh |
Honeycomb mesh generator that creates a 2D "cylindrical" mesh (one in which periodicity is imposed on the left and right boundaries) for use in vertex simulations.
NOTE: the user should delete the mesh after use to manage memory.
Definition at line 53 of file CylindricalHoneycombVertexMeshGenerator.hpp.
CylindricalHoneycombVertexMeshGenerator::CylindricalHoneycombVertexMeshGenerator | ( | unsigned | numElementsAcross, |
unsigned | numElementsUp, | ||
bool | isFlatBottom = false , |
||
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 |
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) |
Definition at line 40 of file CylindricalHoneycombVertexMeshGenerator.cpp.
References HoneycombVertexMeshGenerator::mpMesh.
boost::shared_ptr< Cylindrical2dVertexMesh > CylindricalHoneycombVertexMeshGenerator::GetCylindricalMesh | ( | ) |
Definition at line 146 of file CylindricalHoneycombVertexMeshGenerator.cpp.
References HoneycombVertexMeshGenerator::mpMesh.
|
virtual |
Reimplemented from HoneycombVertexMeshGenerator.
Definition at line 140 of file CylindricalHoneycombVertexMeshGenerator.cpp.
References EXCEPTION, and HoneycombVertexMeshGenerator::mpMesh.