Information about finite element maps. More...
Enumerations | |
enum | type { identity, covariantPiola, contravariantPiola, doubleCovariantPiola, doubleContravariantPiola } |
Cell type. | |
Functions | |
const std::string & | type_to_str (maps::type type) |
Convert mapping type enum to string. | |
template<typename O , typename P , typename Mat0 , typename Mat1 > | |
void | apply_map (O &&u, const P &U, const Mat0 &J, double detJ, const Mat1 &K, maps::type map_type) |
Information about finite element maps.
void basix::maps::apply_map | ( | O && | u, |
const P & | U, | ||
const Mat0 & | J, | ||
double | detJ, | ||
const Mat1 & | K, | ||
maps::type | map_type | ||
) |
Apply a map to data. Note that the required input arguments depends on the type of map.
[out] | u | The field after mapping, flattened with row-major layout |
[in] | U | The field to be mapped, flattened with row-major layout |
[in] | J | Jacobian of the map |
[in] | detJ | Determinant of J |
[in] | K | The inverse of J |
[in] | map_type | The map type |