OpenCMISS / iron

Source code repository for OpenCMISS-Iron
9 stars 62 forks source link

Allow for specifying the value type of a field variable #147

Open PrasadBabarendaGamage opened 6 years ago

PrasadBabarendaGamage commented 6 years ago

We need to have an option/flag on the field to set how to interpret the values for vector fields. The current plan is to allow for coordinates values (default), Euler angles and quaternions. A valueType flag will be set in the FIELD_VARIABLE_TYPE to allow for this.

This will be used e.g. to allow users to define fibre fields based on Euler angles or quaternions, however, as fields as general, these options can be expanded in the future.