OpenCMISS-Zinc C++ API Documentation
|
A set of basis functions that can apply over an element of a given dimension. More...
#include <element.hpp>
Public Types | |
enum | FunctionType { FUNCTION_TYPE_INVALID = CMZN_ELEMENTBASIS_FUNCTION_TYPE_INVALID, FUNCTION_TYPE_CONSTANT = CMZN_ELEMENTBASIS_FUNCTION_TYPE_CONSTANT, FUNCTION_TYPE_LINEAR_LAGRANGE = CMZN_ELEMENTBASIS_FUNCTION_TYPE_LINEAR_LAGRANGE, FUNCTION_TYPE_QUADRATIC_LAGRANGE = CMZN_ELEMENTBASIS_FUNCTION_TYPE_QUADRATIC_LAGRANGE, FUNCTION_TYPE_CUBIC_LAGRANGE = CMZN_ELEMENTBASIS_FUNCTION_TYPE_CUBIC_LAGRANGE, FUNCTION_TYPE_LINEAR_SIMPLEX = CMZN_ELEMENTBASIS_FUNCTION_TYPE_LINEAR_SIMPLEX, FUNCTION_TYPE_QUADRATIC_SIMPLEX = CMZN_ELEMENTBASIS_FUNCTION_TYPE_QUADRATIC_SIMPLEX, FUNCTION_TYPE_CUBIC_HERMITE = CMZN_ELEMENTBASIS_FUNCTION_TYPE_CUBIC_HERMITE } |
Public Member Functions | |
Elementbasis (cmzn_elementbasis_id element_basis_id) | |
Elementbasis (const Elementbasis &elementBasis) | |
Elementbasis & | operator= (const Elementbasis &elementBasis) |
bool | isValid () const |
cmzn_elementbasis_id | getId () const |
int | getDimension () |
enum FunctionType | getFunctionType (int chartComponent) |
int | setFunctionType (int chartComponent, FunctionType functionType) |
int | getNumberOfNodes () |
int | getNumberOfFunctions () |
A set of basis functions that can apply over an element of a given dimension.
A set of basis functions that can apply over an element of a given dimension. The element basis can be a tensor product of different basis function types, with the parameters of the resulting basis cycling over lower element 'xi' coordinates fastest.
Common 1-D or linked-dimension basis function types.
|
inline |
Gets the number of dimensions of the elements this basis works with.
|
inline |
Gets the basis function type for a component of the basis.
chartComponent | The chart component to get the function for from 1 to dimension. |
|
inline |
Return the C handle of the Elementbasis object.
|
inline |
If the basis is valid, gets the number of functions it has, which equals the number of parameters required. Note that with Hermite bases the parameters are grouped by nodes, i.e. all parameters for the first node are first, followed by those for the second node, and so on. Within the parameters for each node, parameters are ordered by the value/derivative type: the value is first, then DS1 derivatives cycle fastest followed by DS2 then DS3.
|
inline |
If the basis is valid, gets the number of nodes the basis expects.
|
inline |
Check if this is a valid Elementbasis object.
|
inline |
Sets a simple basis function type for a component of the basis.
chartComponent | The chart component to set the function for from 1 to dimension. |
functionType | The basis type to use on the chosen chart component. |