GemaCoreLib
The GeMA Core library
Public Member Functions | List of all members
GmCellBoundary Class Referenceabstract

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>

Inheritance diagram for GmCellBoundary:
Inheritance graph
[legend]

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 GmCellMeshmesh () 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 GmCellcell (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)
 

Detailed Description

This class stores a set of cell edges or cell faces that together form a piece of the boundary of a mesh.

Member Function Documentation

◆ cellBorder()

virtual int GmCellBoundary::cellBorder ( int  i) const
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.

◆ setBoundaryData()

virtual bool GmCellBoundary::setBoundaryData ( int  numCells,
int *  cellList,
int *  borderList 
)
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.


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