#include <HoneycombVertexMeshGenerator.hpp>
Public Member Functions | |
HoneycombVertexMeshGenerator (unsigned numElementsAcross, unsigned numElementsUp) | |
HoneycombVertexMeshGenerator () | |
~HoneycombVertexMeshGenerator () | |
virtual VertexMesh< 2, 2 > * | GetMesh () |
Protected Attributes | |
VertexMesh< 2, 2 > * | mpMesh |
Generator of honeycomb meshes, used as starting points for many simulations.
This class takes in options such as width, height, number of ghost nodes and generates a honeycomb mesh (with equal distance between nodes).
NOTE: the user should delete the mesh after use to manage memory.
Definition at line 44 of file HoneycombVertexMeshGenerator.hpp.
HoneycombVertexMeshGenerator::HoneycombVertexMeshGenerator | ( | unsigned | numElementsAcross, | |
unsigned | numElementsUp | |||
) |
Constructor.
numElementsAcross | The number of columns of elements in the mesh | |
numElementsUp | The number of rows of elements in the mesh |
Definition at line 32 of file HoneycombVertexMeshGenerator.cpp.
References mpMesh.
HoneycombVertexMeshGenerator::HoneycombVertexMeshGenerator | ( | ) | [inline] |
Null constructor for derived classes to call...
Definition at line 65 of file HoneycombVertexMeshGenerator.hpp.
HoneycombVertexMeshGenerator::~HoneycombVertexMeshGenerator | ( | ) |
Destructor - deletes the mesh object and pointer
Definition at line 136 of file HoneycombVertexMeshGenerator.cpp.
References mpMesh.
VertexMesh< 2, 2 > * HoneycombVertexMeshGenerator::GetMesh | ( | ) | [virtual] |
Definition at line 141 of file HoneycombVertexMeshGenerator.cpp.
References mpMesh.
VertexMesh<2,2>* HoneycombVertexMeshGenerator::mpMesh [protected] |
A pointer to the mesh this class creates
Definition at line 49 of file HoneycombVertexMeshGenerator.hpp.
Referenced by GetMesh(), HoneycombVertexMeshGenerator(), and ~HoneycombVertexMeshGenerator().