Basix
Enumerations | Functions
basix::mapping Namespace Reference

Information about mappings. More...

Enumerations

enum class  type {
  identity , covariantPiola , contravariantPiola , doubleCovariantPiola ,
  doubleContravariantPiola
}
 Cell type.
 

Functions

std::function< std::vector< double >const tcb::span< const double > &, const Eigen::MatrixXd &, const double, const Eigen::MatrixXd &)> get_forward_map (mapping::type mapping_type)
 
const std::string & type_to_str (mapping::type type)
 Convert mapping type enum to string.
 

Detailed Description

Information about mappings.

Function Documentation

◆ get_forward_map()

std::function< std::vector< double >const tcb::span< const double > &, const Eigen::MatrixXd &, const double, const Eigen::MatrixXd &)> basix::mapping::get_forward_map ( mapping::type  mapping_type)

Get the function that maps data from the reference to the physical cell.

Parameters
mapping_typeMapping type
Returns
The mapping function