Basix 0.12.0.dev0
Loading...
Searching...
No Matches
Enumerations | Functions
basix::maps Namespace Reference

Information about finite element maps. More...

Enumerations

enum class  type {
  identity = 0 , L2Piola = 1 , covariantPiola = 2 , contravariantPiola = 3 ,
  doubleCovariantPiola = 4 , doubleContravariantPiola = 5
}
 Map type.
 

Functions

template<typename O , typename P , typename Q , typename R >
void l2_piola (O &&r, const P &U, const Q &, double detJ, const R &)
 L2 Piola map.
 
template<typename O , typename P , typename Q , typename R >
void covariant_piola (O &&r, const P &U, const Q &, double, const R &K)
 Covariant Piola map.
 
template<typename O , typename P , typename Q , typename R >
void contravariant_piola (O &&r, const P &U, const Q &J, double detJ, const R &)
 Contravariant Piola map.
 
template<typename O , typename P , typename Q , typename R >
void double_covariant_piola (O &&r, const P &U, const Q &, double, const R &K)
 Double covariant Piola map.
 
template<typename O , typename P , typename Q , typename R >
void double_contravariant_piola (O &&r, const P &U, const Q &J, double detJ, const R &)
 Double contravariant Piola map.
 

Detailed Description

Information about finite element maps.

Function Documentation

◆ l2_piola()

template<typename O , typename P , typename Q , typename R >
void basix::maps::l2_piola ( O &&  r,
const P &  U,
const Q ,
double  detJ,
const R  
)

L2 Piola map.

This map does not use the Jacobian or its inverse.

Parameters
[out]rThe mapped (physical-cell) values.
[in]UThe reference-cell values to map.
[in]detJDeterminant of the Jacobian of the map.

◆ covariant_piola()

template<typename O , typename P , typename Q , typename R >
void basix::maps::covariant_piola ( O &&  r,
const P &  U,
const Q ,
double  ,
const R K 
)

Covariant Piola map.

This map does not use the Jacobian or its determinant.

Parameters
[out]rThe mapped (physical-cell) values.
[in]UThe reference-cell values to map.
[in]KInverse of the Jacobian of the map.

◆ contravariant_piola()

template<typename O , typename P , typename Q , typename R >
void basix::maps::contravariant_piola ( O &&  r,
const P &  U,
const Q J,
double  detJ,
const R  
)

Contravariant Piola map.

This map does not use the inverse of the Jacobian.

Parameters
[out]rThe mapped (physical-cell) values.
[in]UThe reference-cell values to map.
[in]JJacobian of the map.
[in]detJDeterminant of the Jacobian of the map.

◆ double_covariant_piola()

template<typename O , typename P , typename Q , typename R >
void basix::maps::double_covariant_piola ( O &&  r,
const P &  U,
const Q ,
double  ,
const R K 
)

Double covariant Piola map.

This map does not use the Jacobian or its determinant.

Parameters
[out]rThe mapped (physical-cell) values.
[in]UThe reference-cell values to map.
[in]KInverse of the Jacobian of the map.

◆ double_contravariant_piola()

template<typename O , typename P , typename Q , typename R >
void basix::maps::double_contravariant_piola ( O &&  r,
const P &  U,
const Q J,
double  detJ,
const R  
)

Double contravariant Piola map.

This map does not use the inverse of the Jacobian.

Parameters
[out]rThe mapped (physical-cell) values.
[in]UThe reference-cell values to map.
[in]JJacobian of the map.
[in]detJDeterminant of the Jacobian of the map.