OpenCMISS-Zinc C++ API Documentation
|
A subset of a master mesh. More...
#include <mesh.hpp>
Public Member Functions | |
MeshGroup (cmzn_mesh_group_id mesh_id) | |
cmzn_mesh_group_id | getId () const |
int | addElement (const Element &element) |
int | addElementsConditional (const Field &conditionalField) |
int | removeAllElements () |
int | removeElement (const Element &element) |
int | removeElementsConditional (const Field &conditionalField) |
Public Member Functions inherited from OpenCMISS::Zinc::Mesh | |
Mesh (cmzn_mesh_id mesh_id) | |
Mesh (const Mesh &mesh) | |
bool | isValid () const |
Mesh & | operator= (const Mesh &mesh) |
cmzn_mesh_id | getId () const |
MeshGroup | castGroup () |
bool | containsElement (const Element &element) |
Elementfieldtemplate | createElementfieldtemplate (const Elementbasis &basis) |
Elementtemplate | createElementtemplate () |
Element | createElement (int identifier, const Elementtemplate &elementTemplate) |
Elementiterator | createElementiterator () |
int | defineElement (int identifier, const Elementtemplate &elementTemplate) |
int | destroyAllElements () |
int | destroyElement (const Element &element) |
int | destroyElementsConditional (const Field &conditionalField) |
Element | findElementByIdentifier (int identifier) |
Differentialoperator | getChartDifferentialoperator (int order, int term) |
int | getDimension () |
Fieldmodule | getFieldmodule () const |
Mesh | getMasterMesh () |
char * | getName () |
int | getSize () |
Additional Inherited Members | |
Protected Attributes inherited from OpenCMISS::Zinc::Mesh | |
cmzn_mesh_id | id |
A subset of a master mesh.
A specialised mesh consisting of a subset of elements from a master mesh.
|
inline |
Add specified element to mesh group.
element | Handle to element to add. Must be from the group's master mesh. |
|
inline |
Ensure this mesh group contains all elements from the master mesh for which the conditional field is true i.e. non-zero valued in the element. Results are undefined if conditional field is not constant over element. Note that group and element_group fields are valid conditional fields.
conditionalField | Field which if non-zero in an element indicates it is to be added. |
|
inline |
|
inline |
Remove all elements from mesh group.
|
inline |
Remove specified element from mesh group.
element | Handle to element to remove. |
|
inline |
Remove all elements from the mesh group for which the conditional field is true i.e. non-zero valued in the element. Results are undefined if conditional field is not constant over element. Note that group and element_group fields are valid conditional fields.
conditionalField | Field which if non-zero in the element indicates it is to be removed. |