![]() |
GemaCoreLib
The GeMA Core library
|
This class stores a set of cell edges or cell faces that together form a piece of the boundary of a mesh. More...
#include <gmCellBoundary.h>
Public Member Functions | |
virtual | ~GmCellBoundary () |
Virtual destructor. | |
virtual QString | id () const =0 |
Returns the boundary name. | |
virtual GmCellBoundaryType | type () const =0 |
Returns the type of boundary stored by this object (edges or faces) | |
virtual GmCellMesh * | mesh () const =0 |
Returns the mesh that this border is tied to. | |
virtual int | numCells () const =0 |
Returns the number of cells stored in this group. | |
virtual GmCell * | cell (int i) const =0 |
Returns the cell of the i'th entry stored in this group. | |
virtual int | cellBorder (int i) const =0 |
Returns the border index of the i'th entry stored in this group. More... | |
virtual bool | setBoundaryData (int numCells, int *cellList, int *borderList) |
Updates the cell and border lists in the border object. More... | |
virtual size_t | usedMemory () const =0 |
Returns an estimative of the memory used by the boundary in bytes. | |
int * | buildNodeList (int *size) |
This class stores a set of cell edges or cell faces that together form a piece of the boundary of a mesh.
|
pure virtual |
Returns the border index of the i'th entry stored in this group.
This index can be an edge index or a face index, depending on the type of boundary stored in this group. This index should be considered together with the cell geometry definition stored by the class GmCellGeometry
Implemented in BcCellBoundary.
|
inlinevirtual |
Updates the cell and border lists in the border object.
If this operation is not supported by a mesh implementation, this function should return false. The object takes ownership of the supplied vectors (unless the function returns false). If the concrete representation will not use the supplied vectors internally, it should delete the given data.