Abstract class for tessellation in 3D. More...
#include <Tessellation3D.hpp>
Public Member Functions | |
virtual void | Initialise (vector< Vector3D > const &points, OuterBoundary3D const *bc)=0 |
Initialises the tessellation. More... | |
virtual void | Update (vector< Vector3D > const &points)=0 |
Update the tessellation. More... | |
virtual size_t | GetPointNo (void) const =0 |
Get Total number of mesh generating points. More... | |
virtual Vector3D | GetMeshPoint (size_t index) const =0 |
Returns Position of mesh generating point. More... | |
virtual Vector3D const & | GetCellCM (size_t index) const =0 |
Returns Position of Cell's Center of Mass. More... | |
virtual size_t | GetTotalFacesNumber (void) const =0 |
Returns the total number of faces. More... | |
virtual Face const & | GetFace (size_t index) const =0 |
Returns Face (interface between cells) More... | |
virtual double | GetWidth (size_t index) const =0 |
Returns the effective width of a cell. More... | |
virtual double | GetVolume (size_t index) const =0 |
Returns the volume of a cell. More... | |
virtual vector< size_t > const & | GetCellFaces (size_t index) const =0 |
Returns the indeces of a cell's Faces. More... | |
virtual vector< Vector3D > & | GetMeshPoints (void)=0 |
Returns a reference to the point vector. More... | |
virtual vector< size_t > | GetNeighbors (size_t index) const =0 |
Returns a list of the neighbors of a cell. More... | |
virtual Tessellation3D * | clone (void) const =0 |
Cloning function. More... | |
virtual | ~Tessellation3D (void) |
Virtual destructor. | |
virtual bool | NearBoundary (size_t index) const =0 |
Returns if the cell is adjacent to a boundary. More... | |
virtual bool | BoundaryFace (size_t index) const =0 |
Returns if the face is a boundary one. More... | |
virtual vector< vector< size_t > > & | GetDuplicatedPoints (void)=0 |
Returns the indeces of the points that where sent to other processors as ghost points (or to same cpu for single thread) ad boundary points. More... | |
virtual vector< vector< size_t > > const & | GetDuplicatedPoints (void) const =0 |
Returns the indeces of the points that where sent to other processors as ghost points (or to same cpu for single thread) ad boundary points. More... | |
virtual size_t | GetTotalPointNumber (void) const =0 |
Returns the total number of points (including ghost) More... | |
virtual vector< Vector3D > & | GetAllCM (void)=0 |
Returns the center of masses of the cells. More... | |
virtual void | GetNeighborNeighbors (vector< size_t > &result, size_t point) const =0 |
Returns the neighbors and neighbors of the neighbors of a cell. More... | |
virtual Vector3D | Normal (size_t faceindex) const =0 |
Returns a vector normal to the face whose magnitude is the seperation between the neighboring points. More... | |
virtual bool | IsGhostPoint (size_t index) const =0 |
Checks if a point is a ghost point or not. More... | |
virtual Vector3D | CalcFaceVelocity (size_t p0, size_t p1, Vector3D const &v0, Vector3D const &v1) const =0 |
Calculates the velocity of a face. More... | |
Abstract class for tessellation in 3D.
Definition at line 19 of file Tessellation3D.hpp.
|
pure virtual |
Returns if the face is a boundary one.
index | The face to check |
|
pure virtual |
Calculates the velocity of a face.
p0 | The index of the first neighbor |
p1 | The index of the second neighbor |
v0 | The velocity of the first neighbor |
v1 | The velocity of the second neighbor |
|
pure virtual |
Cloning function.
|
pure virtual |
Returns the center of masses of the cells.
|
pure virtual |
Returns Position of Cell's Center of Mass.
index | Mesh generating point index (the cell's index) |
|
pure virtual |
Returns the indeces of a cell's Faces.
index | Cell index |
|
pure virtual |
Returns the indeces of the points that where sent to other processors as ghost points (or to same cpu for single thread) ad boundary points.
|
pure virtual |
Returns the indeces of the points that where sent to other processors as ghost points (or to same cpu for single thread) ad boundary points.
|
pure virtual |
|
pure virtual |
Returns Position of mesh generating point.
index | Mesh generating point index |
|
pure virtual |
Returns a reference to the point vector.
|
pure virtual |
Returns the neighbors and neighbors of the neighbors of a cell.
point | The index of the cell to calculate for |
result | The neighbors and their neighbors indeces |
|
pure virtual |
Returns a list of the neighbors of a cell.
index | The cell to check |
|
pure virtual |
Get Total number of mesh generating points.
|
pure virtual |
Returns the total number of faces.
|
pure virtual |
Returns the total number of points (including ghost)
|
pure virtual |
Returns the volume of a cell.
index | Cell index |
|
pure virtual |
Returns the effective width of a cell.
index | Cell index |
|
pure virtual |
Initialises the tessellation.
points | Initial position of mesh generating points |
bc | Boundary conditions of the computational domain |
|
pure virtual |
Checks if a point is a ghost point or not.
index | Point index |
|
pure virtual |
Returns if the cell is adjacent to a boundary.
index | The cell to check |
|
pure virtual |
Returns a vector normal to the face whose magnitude is the seperation between the neighboring points.
faceindex | The index of the face |
|
pure virtual |
Update the tessellation.
points | The new positions of the mesh generating points |