10 #ifndef CMZN_ELEMENTBASIS_HPP__ 11 #define CMZN_ELEMENTBASIS_HPP__ 13 #include "opencmiss/zinc/elementbasis.h" 32 cmzn_elementbasis_id id;
40 explicit Elementbasis(cmzn_elementbasis_id element_basis_id) :
45 id(cmzn_elementbasis_access(elementBasis.id))
50 cmzn_elementbasis_id temp_id = cmzn_elementbasis_access(elementBasis.id);
53 cmzn_elementbasis_destroy(&
id);
63 cmzn_elementbasis_destroy(&
id);
134 return cmzn_elementbasis_get_dimension(
id);
147 return static_cast<FunctionType>(cmzn_elementbasis_get_function_type(
id, chartComponent));
160 return cmzn_elementbasis_set_function_type(
id, chartComponent,
161 static_cast<cmzn_elementbasis_function_type>(functionType));
171 return cmzn_elementbasis_get_number_of_nodes(
id);
188 return cmzn_elementbasis_get_number_of_functions(
id);
201 return cmzn_elementbasis_get_number_of_functions_per_node(
id, nodeNumber);
Definition: elementbasis.hpp:86
Definition: elementbasis.hpp:94
A set of basis functions that can apply over an element of a given dimension.
Definition: elementbasis.hpp:28
int getDimension()
Definition: elementbasis.hpp:132
int getNumberOfFunctions()
Definition: elementbasis.hpp:186
Definition: elementbasis.hpp:112
int getNumberOfFunctionsPerNode(int nodeNumber)
Definition: elementbasis.hpp:199
Definition: elementbasis.hpp:97
FunctionType
Definition: elementbasis.hpp:82
enum FunctionType getFunctionType(int chartComponent)
Definition: elementbasis.hpp:145
Definition: elementbasis.hpp:88
Definition: elementbasis.hpp:91
cmzn_elementbasis_id getId() const
Definition: elementbasis.hpp:122
int getNumberOfNodes()
Definition: elementbasis.hpp:169
The OpenCMISS namespace.
Definition: context.hpp:20
Definition: elementbasis.hpp:84
Definition: elementbasis.hpp:104
bool isValid() const
Definition: elementbasis.hpp:72
int setFunctionType(int chartComponent, FunctionType functionType)
Definition: elementbasis.hpp:158