OpenCMISS-Zinc C++ API Documentation
|
Object for assigning values of a field from a source field. More...
#include <fieldassignment.hpp>
Public Member Functions | |
Fieldassignment (cmzn_fieldassignment_id fieldassignment_id) | |
Fieldassignment (const Fieldassignment &fieldassignment) | |
Fieldassignment & | operator= (const Fieldassignment &fieldassignment) |
bool | isValid () const |
cmzn_fieldassignment_id | getId () const |
int | assign () |
Field | getConditionalField () const |
int | setConditionalField (const Field &conditionalField) |
Nodeset | getNodeset () const |
int | setNodeset (const Nodeset &nodeset) |
Field | getSourceField () const |
Field | getTargetField () const |
Protected Attributes | |
cmzn_fieldassignment_id | id |
Object for assigning values of a field from a source field.
Object performing assignment of a source field to a target field so that the target field will afterwards give as near as possible the same values over its domain as the source. Beware this object may not handle all cases, notably element-based fields. It is initially designed to assign node parameters, and normally only the node field value is assigned to. If the target field is real-valued finite element type then three special cases are handled:
|
inline |
Perform assignment of values from source to target field.
|
inline |
Get the current conditional field for the field assignment.
|
inline |
Return the C handle of the Fieldassignment object.
|
inline |
Get the nodeset for the field assignment, if set.
|
inline |
Get the source field for the field assignment.
|
inline |
Get the target field for the field assignment.
|
inline |
Check if this is a valid Fieldassignment object.
|
inline |
Set conditional field determining which parts of the target field domain, or domain where DOFs are defined, to assign values over.
conditionalField | The conditional field to set, or invalid handle to clear. This is commonly a generic or node group field, but may be any field expression returning non-zero/true at domain locations of the target field where values are to be assigned, zero/false where no assignment is done. |
|
inline |
Set nodeset over which DOFs are assigned. Pass NULL/invalid nodeset to assign over default nodeset 'nodes'.
nodeset | The nodeset or nodeset group to assign over, or NULL/invalid to clear to default. |