Chaste  Release::3.4
CylindricalHoneycombVertexMeshGenerator Class Reference

#include <CylindricalHoneycombVertexMeshGenerator.hpp>

+ Inheritance diagram for CylindricalHoneycombVertexMeshGenerator:
+ Collaboration diagram for CylindricalHoneycombVertexMeshGenerator:

Public Member Functions

 CylindricalHoneycombVertexMeshGenerator (unsigned numElementsAcross, unsigned numElementsUp, bool isFlatBottom=false, double cellRearrangementThreshold=0.01, double t2Threshold=0.001)
 
MutableVertexMesh< 2, 2 > * GetMesh ()
 
Cylindrical2dVertexMeshGetCylindricalMesh ()
 

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
 

Detailed Description

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 52 of file CylindricalHoneycombVertexMeshGenerator.hpp.

Constructor & Destructor Documentation

CylindricalHoneycombVertexMeshGenerator::CylindricalHoneycombVertexMeshGenerator ( unsigned  numElementsAcross,
unsigned  numElementsUp,
bool  isFlatBottom = false,
double  cellRearrangementThreshold = 0.01,
double  t2Threshold = 0.001 
)

Constructor.

Parameters
numElementsAcrossThe number of columns of elements in the mesh. This MUST be an even number.
numElementsUpThe number of rows of elements in the mesh
isFlatBottomWhether to enforce a flat bottom to the mesh (defaults to false)
cellRearrangementThresholdthe minimum threshold distance for element rearrangement (defaults to 0.01)
t2Thresholdthe maximum threshold distance for Type 2 swaps (defaults to 0.001)
Todo:
This should be an exception (#2401)

Definition at line 38 of file CylindricalHoneycombVertexMeshGenerator.cpp.

References HoneycombVertexMeshGenerator::mpMesh.

Member Function Documentation

Cylindrical2dVertexMesh * CylindricalHoneycombVertexMeshGenerator::GetCylindricalMesh ( )
Returns
a 2D honeycomb mesh with periodic left/right boundaries

Definition at line 144 of file CylindricalHoneycombVertexMeshGenerator.cpp.

References HoneycombVertexMeshGenerator::mpMesh.

MutableVertexMesh< 2, 2 > * CylindricalHoneycombVertexMeshGenerator::GetMesh ( )
virtual
Returns
a 2D honeycomb mesh

Reimplemented from HoneycombVertexMeshGenerator.

Definition at line 138 of file CylindricalHoneycombVertexMeshGenerator.cpp.

References EXCEPTION, and HoneycombVertexMeshGenerator::mpMesh.


The documentation for this class was generated from the following files: