Abstract class for tessellation. More...
#include <tessellation.hpp>
Public Member Functions | |
virtual Vector2D | CalcFaceVelocity (Vector2D wl, Vector2D wr, Vector2D rL, Vector2D rR, Vector2D f) const =0 |
Calculates the velocity of a single edge. More... | |
virtual void | Initialise (vector< Vector2D > const &points, OuterBoundary const *bc, bool HilbertOrder=true)=0 |
Initialises the tessellation. More... | |
virtual void | Initialise (vector< Vector2D > const &points, Tessellation const &tess, OuterBoundary const *outer, bool HilbertOrder=true)=0 |
Initialises the tessellation. More... | |
virtual vector< int > | Update (const vector< Vector2D > &points, bool HilbertOrder=false)=0 |
Update the tessellation. More... | |
virtual vector< int > | Update (const vector< Vector2D > &points, const Tessellation &tess, bool HOrder=false)=0 |
Update the tessellation. More... | |
virtual int | GetPointNo (void) const =0 |
Get Total number of mesh generating points. More... | |
virtual Vector2D | GetMeshPoint (int index) const =0 |
Returns Position of mesh generating point. More... | |
virtual Vector2D const & | GetCellCM (int index) const =0 |
Returns Position of Cell's CM. More... | |
virtual int | GetTotalSidesNumber (void) const =0 |
Returns the total number of faces. More... | |
virtual const vector< Edge > & | getAllEdges (void) const =0 |
Returns reference to the list of all edges. More... | |
virtual Edge const & | GetEdge (int index) const =0 |
Returns edge (interface between cells) More... | |
virtual double | GetWidth (int index) const =0 |
Returns the effective width of a cell. More... | |
virtual double | GetVolume (int index) const =0 |
Returns the volume of a cell. More... | |
virtual vector< int > const & | GetCellEdges (int index) const =0 |
Returns the indexes of a cell's edges. More... | |
virtual int | GetOriginalIndex (int point) const |
Returns the original index of the duplicated point. More... | |
virtual vector< Vector2D > & | GetMeshPoints (void)=0 |
Returns a reference to the point vector. More... | |
virtual vector< int > | GetNeighbors (int index) const =0 |
Returns the indeces of the neighbors. More... | |
virtual void | GetNeighbors (int index, vector< int > &neigh) const =0 |
Returns the indeces of the neighbors. More... | |
virtual Tessellation * | clone (void) const =0 |
Cloning function. More... | |
virtual bool | NearBoundary (int index) const =0 |
Returns if the cell is adjacent to a boundary. More... | |
virtual vector< vector< int > > & | GetDuplicatedPoints (void)=0 |
Returns the indeces of the points that where sent to other processors as ghost points. More... | |
virtual vector< vector< int > > const & | GetDuplicatedPoints (void) const =0 |
Returns the indeces of the points that where sent to other processors as ghost points. More... | |
virtual vector< int > | GetDuplicatedProcs (void) const =0 |
Returns the indeces of the processors with whom ghost points where exchanged. More... | |
virtual vector< vector< int > > const & | GetSentPoints (void) const =0 |
Returns the indeces of the points that where sent to other processors. More... | |
virtual vector< int > | GetSentProcs (void) const =0 |
Returns the indeces of the processors with whom points where exchanged. More... | |
virtual vector< size_t > | GetSelfPoint (void) const =0 |
Returns the indeces of the points that remain with the processor after the ne processor mesh is built. More... | |
virtual vector< vector< int > > & | GetGhostIndeces (void)=0 |
Returns the indeces of each ghost point in the vector of points that the tessellation holds. More... | |
virtual vector< vector< int > > const & | GetGhostIndeces (void) const =0 |
Returns the indeces of each ghost point in the vector of points that the tessellation holds. More... | |
virtual int | GetTotalPointNumber (void) const =0 |
Returns the total number of points (including ghost) More... | |
virtual vector< Vector2D > & | GetAllCM (void)=0 |
Returns the center of masses of the cells. More... | |
virtual void | GetNeighborNeighbors (vector< int > &result, int point) const =0 |
Retrieves vicarious neighbors. More... | |
Abstract class for tessellation.
Definition at line 21 of file tessellation.hpp.
|
pure virtual |
Calculates the velocity of a single edge.
wl | The velocity of the left mesh point |
wr | The velocity of the right mesh point |
rL | The location of the left mesh point |
rR | The location of the right mesh point |
f | The centroid of the edge |
Implemented in VoronoiMesh.
|
pure virtual |
Cloning function.
Implemented in VoronoiMesh.
|
pure virtual |
|
pure virtual |
Returns reference to the list of all edges.
Implemented in VoronoiMesh.
|
pure virtual |
Returns Position of Cell's CM.
index | Mesh generating point index (the cell's index) |
Implemented in VoronoiMesh.
|
pure virtual |
Returns the indexes of a cell's edges.
index | Cell index |
Implemented in VoronoiMesh.
|
pure virtual |
Returns the indeces of the points that where sent to other processors as ghost points.
Implemented in VoronoiMesh.
|
pure virtual |
Returns the indeces of the points that where sent to other processors as ghost points.
Implemented in VoronoiMesh.
|
pure virtual |
Returns the indeces of the processors with whom ghost points where exchanged.
Implemented in VoronoiMesh.
|
pure virtual |
Returns edge (interface between cells)
index | Face index |
Implemented in VoronoiMesh.
|
pure virtual |
Returns the indeces of each ghost point in the vector of points that the tessellation holds.
Implemented in VoronoiMesh.
|
pure virtual |
Returns the indeces of each ghost point in the vector of points that the tessellation holds.
Implemented in VoronoiMesh.
|
pure virtual |
Returns Position of mesh generating point.
index | Mesh generating point index |
Implemented in VoronoiMesh.
|
pure virtual |
Returns a reference to the point vector.
Implemented in VoronoiMesh.
|
pure virtual |
Retrieves vicarious neighbors.
result | Output |
point | Mesh generating point index |
Implemented in VoronoiMesh.
|
pure virtual |
Returns the indeces of the neighbors.
index | The cell to check |
Implemented in VoronoiMesh.
|
pure virtual |
Returns the indeces of the neighbors.
index | The cell to check |
neigh | the indeces of the neighbors given as output |
Implemented in VoronoiMesh.
|
virtual |
Returns the original index of the duplicated point.
point | The index of the duplicated point |
Reimplemented in VoronoiMesh.
Definition at line 5 of file tessellation.cpp.
|
pure virtual |
Get Total number of mesh generating points.
Implemented in VoronoiMesh.
|
pure virtual |
Returns the indeces of the points that remain with the processor after the ne processor mesh is built.
Implemented in VoronoiMesh.
|
pure virtual |
Returns the indeces of the points that where sent to other processors.
Implemented in VoronoiMesh.
|
pure virtual |
Returns the indeces of the processors with whom points where exchanged.
Implemented in VoronoiMesh.
|
pure virtual |
Returns the total number of points (including ghost)
Implemented in VoronoiMesh.
|
pure virtual |
Returns the total number of faces.
Implemented in VoronoiMesh.
|
pure virtual |
Returns the volume of a cell.
index | Cell index |
Implemented in VoronoiMesh.
|
pure virtual |
Returns the effective width of a cell.
index | Cell index |
Implemented in VoronoiMesh.
|
pure virtual |
Initialises the tessellation.
points | Initial position of mesh generating points |
bc | Boundary conditions of the computational domain |
HilbertOrder | Should the points be rearranged before insertion |
Implemented in VoronoiMesh.
|
pure virtual |
Initialises the tessellation.
points | Initial position of mesh generating points |
tess | The tessellation of the processors |
outer | The geometric outer boundary conditions |
HilbertOrder | Should the points be rearranged before insertion |
Implemented in VoronoiMesh.
|
pure virtual |
Returns if the cell is adjacent to a boundary.
index | The cell to check |
Implemented in VoronoiMesh.
|
pure virtual |
Update the tessellation.
points | The new positions of the mesh generating points |
HilbertOrder | Should the points be rearranged before insertion |
Implemented in VoronoiMesh.
|
pure virtual |
Update the tessellation.
points | The new positions of the mesh generating points |
tess | The tessellation of the processors |
HOrder | Should the points be rearranged before insertion |
Implemented in VoronoiMesh.