9 #ifndef CMZN_FIELDSUBOBJECTGROUP_HPP__
10 #define CMZN_FIELDSUBOBJECTGROUP_HPP__
12 #include "zinc/fieldsubobjectgroup.h"
13 #include "zinc/field.hpp"
14 #include "zinc/fieldmodule.hpp"
15 #include "zinc/node.hpp"
16 #include "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:46
FieldElementGroup createFieldElementGroup(const Mesh &mesh)
Definition: fieldsubobjectgroup.hpp:89
A subset of a master nodeset.
Definition: node.hpp:639
cmzn_nodeset_id getId() const
Definition: node.hpp:474
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: element.hpp:703
A subset of a master mesh.
Definition: element.hpp:915
A finite element mesh consisting of a set of elements of fixed dimension.
Definition: element.hpp:650
MeshGroup getMeshGroup()
Definition: fieldsubobjectgroup.hpp:49
A set of nodes or points.
Definition: node.hpp:421