template<size_t K>
Rodin::Variational::PyramidModal class

Modal basis on the reference pyramid.

Public static functions

static auto getBasis(size_t mode, const Math::SpatialPoint& r) -> Real
Gets the basis function of a local degree of freedom.
static auto getDerivative(size_t mode, size_t deriv, const Math::SpatialPoint& r) -> Real
Gets the derivative of the basis function.

Function documentation

template<size_t K>
static Real Rodin::Variational::PyramidModal<K>::getBasis(size_t mode, const Math::SpatialPoint& r)

Gets the basis function of a local degree of freedom.

Parameters
mode Basis-mode index.
r Point at which the operation is evaluated.
Returns Value of the selected local basis function at the evaluation point.

template<size_t K>
static Real Rodin::Variational::PyramidModal<K>::getDerivative(size_t mode, size_t deriv, const Math::SpatialPoint& r)

Gets the derivative of the basis function.

Parameters
mode Basis-mode index.
deriv Coordinate direction of differentiation.
r Point at which the operation is evaluated.
Returns Derivative evaluated at the supplied point.