9 #ifndef CMZN_FIELDGROUP_HPP__ 10 #define CMZN_FIELDGROUP_HPP__ 12 #include "opencmiss/zinc/fieldgroup.h" 13 #include "opencmiss/zinc/field.hpp" 14 #include "opencmiss/zinc/fieldmodule.hpp" 15 #include "opencmiss/zinc/fieldsubobjectgroup.hpp" 16 #include "opencmiss/zinc/node.hpp" 17 #include "opencmiss/zinc/element.hpp" 18 #include "opencmiss/zinc/region.hpp" 43 explicit FieldGroup(cmzn_field_group_id field_group_id) :
44 Field(reinterpret_cast<cmzn_field_id>(field_group_id))
72 return reinterpret_cast<cmzn_field_group_id
>(id);
126 return cmzn_field_group_remove_empty_subgroups(
getDerivedId());
139 return cmzn_field_group_add_local_region(
getDerivedId());
151 return cmzn_field_group_contains_local_region(
getDerivedId());
164 return cmzn_field_group_remove_local_region(
getDerivedId());
220 cmzn_field_group_get_subelement_handling_mode(
getDerivedId()));
234 return cmzn_field_group_set_subelement_handling_mode(
getDerivedId(),
235 static_cast<enum cmzn_field_group_subelement_handling_mode>(mode));
249 return FieldGroup(cmzn_field_group_create_subregion_field_group(
262 return FieldGroup(cmzn_field_group_get_subregion_field_group(
342 return Field(cmzn_field_group_get_subobject_group_field_for_domain_field(
353 return FieldGroup(cmzn_field_group_get_first_non_empty_subregion_field_group(
361 return FieldGroup(reinterpret_cast<cmzn_field_group_id>(
362 cmzn_fieldmodule_create_field_group(
id)));
Definition: fieldgroup.hpp:58
A field which defines a subset of elements from a master mesh.
Definition: fieldsubobjectgroup.hpp:31
int removeRegion(const Region ®ion)
Definition: fieldgroup.hpp:192
Base field type: an abstraction of a mathematical field.
Definition: field.hpp:51
int clear()
Definition: fieldgroup.hpp:102
FieldGroup getFirstNonEmptySubregionFieldGroup()
Definition: fieldgroup.hpp:351
cmzn_nodeset_id getId() const
Definition: nodeset.hpp:82
bool isEmptyLocal()
Definition: fieldgroup.hpp:90
int removeEmptySubgroups()
Definition: fieldgroup.hpp:124
cmzn_field_group_id getDerivedId()
Definition: fieldgroup.hpp:70
FieldNodeGroup createFieldNodeGroup(const Nodeset &nodeset)
Definition: fieldgroup.hpp:279
A field which defines a subset of nodes from a master nodeset.
Definition: fieldsubobjectgroup.hpp:64
int removeLocalRegion()
Definition: fieldgroup.hpp:162
A hierarchical block/namespace owning domains and fields.
Definition: region.hpp:33
cmzn_region_id getId() const
Definition: region.hpp:84
Definition: fieldgroup.hpp:53
int addRegion(const Region ®ion)
Definition: fieldgroup.hpp:177
int setSubelementHandlingMode(SubelementHandlingMode mode)
Definition: fieldgroup.hpp:232
bool containsRegion(const Region ®ion)
Definition: fieldgroup.hpp:205
FieldGroup createSubregionFieldGroup(const Region ®ion)
Definition: fieldgroup.hpp:247
cmzn_field_id getId() const
Definition: field.hpp:103
FieldElementGroup getFieldElementGroup(const Mesh &mesh)
Definition: fieldgroup.hpp:328
SubelementHandlingMode
Definition: fieldgroup.hpp:51
cmzn_mesh_id getId() const
Definition: mesh.hpp:87
FieldGroup castGroup()
Definition: fieldgroup.hpp:365
FieldElementGroup createFieldElementGroup(const Mesh &mesh)
Definition: fieldgroup.hpp:313
int clearLocal()
Definition: fieldgroup.hpp:113
bool containsLocalRegion()
Definition: fieldgroup.hpp:149
FieldNodeGroup getFieldNodeGroup(const Nodeset &nodeset)
Definition: fieldgroup.hpp:294
SubelementHandlingMode getSubelementHandlingMode()
Definition: fieldgroup.hpp:217
A generic group field used for grouping local subobjects.
Definition: fieldgroup.hpp:35
FieldGroup getSubregionFieldGroup(const Region ®ion)
Definition: fieldgroup.hpp:260
Definition: fieldgroup.hpp:55
Field getSubobjectGroupFieldForDomainField(const Field &domainField)
Definition: fieldgroup.hpp:340
The OpenCMISS namespace.
Definition: context.hpp:20
bool isEmpty()
Definition: fieldgroup.hpp:80
int addLocalRegion()
Definition: fieldgroup.hpp:137
FieldGroup createFieldGroup()
Definition: fieldgroup.hpp:359
A finite element mesh consisting of a set of elements of fixed dimension.
Definition: mesh.hpp:34
A set of nodes or points.
Definition: nodeset.hpp:29