DUNE PDELab (2.7)

Dune::PDELab::SingleDerivativeComputationHelper< Mat, RF, size > Struct Template Reference

Helper class to compute a single derivative of scalar basis functions. More...

#include <dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh>

Static Public Member Functions

template<typename T >
static RF compute_derivative (const Mat &mat, const T &t, const unsigned int k)
 

Detailed Description

template<typename Mat, typename RF, std::size_t size>
struct Dune::PDELab::SingleDerivativeComputationHelper< Mat, RF, size >

Helper class to compute a single derivative of scalar basis functions.

Template Parameters
MatThe matrix type of the geometry transformation.
RFThe underlying field type of Mat, needed especially for the template specialization.
sizeThe size of Mat, needed especially for the template specialization

The k-th derivative of scalar basis functions is calculated from the matrix-vector product of the geometry transformation and the gradient on the reference element by picking out the k-th component.

Member Function Documentation

◆ compute_derivative()

template<typename Mat , typename RF , std::size_t size>
template<typename T >
static RF Dune::PDELab::SingleDerivativeComputationHelper< Mat, RF, size >::compute_derivative ( const Mat &  mat,
const T &  t,
const unsigned int  k 
)
inlinestatic
Parameters
[in]matThe jacobian of the geometry transformation.
[in]tThe gradient of the shape function on the reference element.

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 16, 22:29, 2024)