Chaste Release::3.1
HoneycombVertexMeshGenerator Class Reference

#include <HoneycombVertexMeshGenerator.hpp>

Inheritance diagram for HoneycombVertexMeshGenerator:
Collaboration diagram for HoneycombVertexMeshGenerator:

List of all members.

Public Member Functions

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

Protected Attributes

MutableVertexMesh< 2, 2 > * mpMesh

Detailed Description

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.


Constructor & Destructor Documentation

HoneycombVertexMeshGenerator::HoneycombVertexMeshGenerator ( 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
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 rearrangment (defaults to 0.01)
t2Thresholdthe maximum threshold distance for Type 2 swaps (defaults to 0.001)

Definition at line 38 of file HoneycombVertexMeshGenerator.cpp.

References mpMesh.

HoneycombVertexMeshGenerator::HoneycombVertexMeshGenerator ( ) [inline]

Null constructor for derived classes to call.

Definition at line 77 of file HoneycombVertexMeshGenerator.hpp.

HoneycombVertexMeshGenerator::~HoneycombVertexMeshGenerator ( ) [virtual]

Destructor - deletes the mesh object and pointer.

Definition at line 147 of file HoneycombVertexMeshGenerator.cpp.

References mpMesh.


Member Function Documentation

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

Reimplemented in CylindricalHoneycombVertexMeshGenerator.

Definition at line 152 of file HoneycombVertexMeshGenerator.cpp.

References mpMesh.


Member Data Documentation


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