9 #ifndef CMZN_FIELDSUBOBJECTGROUP_HPP__ 10 #define CMZN_FIELDSUBOBJECTGROUP_HPP__ 12 #include "opencmiss/zinc/fieldsubobjectgroup.h" 13 #include "opencmiss/zinc/field.hpp" 14 #include "opencmiss/zinc/fieldmodule.hpp" 15 #include "opencmiss/zinc/node.hpp" 16 #include "opencmiss/zinc/element.hpp" 40 Field(reinterpret_cast<cmzn_field_id>(field_element_group_id))
51 return MeshGroup(cmzn_field_element_group_get_mesh_group(
52 reinterpret_cast<cmzn_field_element_group_id>(
id)));
72 explicit FieldNodeGroup(cmzn_field_node_group_id field_node_group_id) :
73 Field(reinterpret_cast<cmzn_field_id>(field_node_group_id))
84 return NodesetGroup(cmzn_field_node_group_get_nodeset_group(
85 reinterpret_cast<cmzn_field_node_group_id>(
id)));
92 cmzn_fieldmodule_create_field_element_group(
id, mesh.
getId())));
103 cmzn_fieldmodule_create_field_node_group(
id, nodeset.
getId())));
FieldNodeGroup castNodeGroup()
Definition: fieldsubobjectgroup.hpp:106
A field which defines a subset of elements from a master mesh.
Definition: fieldsubobjectgroup.hpp:31
FieldElementGroup castElementGroup()
Definition: fieldsubobjectgroup.hpp:95
Base field type: an abstraction of a mathematical field.
Definition: field.hpp:51
FieldElementGroup createFieldElementGroup(const Mesh &mesh)
Definition: fieldsubobjectgroup.hpp:89
A subset of a master nodeset.
Definition: nodeset.hpp:265
cmzn_nodeset_id getId() const
Definition: nodeset.hpp:82
A field which defines a subset of nodes from a master nodeset.
Definition: fieldsubobjectgroup.hpp:64
NodesetGroup getNodesetGroup()
Definition: fieldsubobjectgroup.hpp:82
FieldNodeGroup createFieldNodeGroup(const Nodeset &nodeset)
Definition: fieldsubobjectgroup.hpp:100
cmzn_mesh_id getId() const
Definition: mesh.hpp:87
A subset of a master mesh.
Definition: mesh.hpp:336
The OpenCMISS namespace.
Definition: context.hpp:20
A finite element mesh consisting of a set of elements of fixed dimension.
Definition: mesh.hpp:34
MeshGroup getMeshGroup()
Definition: fieldsubobjectgroup.hpp:49
A set of nodes or points.
Definition: nodeset.hpp:29