dune-localfunctions 2.10
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
Dune::MonomImp::Evaluate< Traits, 1 > Struct Template Reference

More...

#include <dune/localfunctions/monomial/monomiallocalbasis.hh>

Static Public Member Functions

template<typename Access >
static void eval (const typename Traits::DomainType &in, const std::array< unsigned int, Traits::dimDomain > &derivatives, typename Traits::RangeFieldType prod, int bound, int &index, Access &access)
 

Static Public Attributes

static constexpr int d = Traits::dimDomain-1
 

Detailed Description

template<typename Traits>
struct Dune::MonomImp::Evaluate< Traits, 1 >

Template Metaprogramm for evaluating monomial shapefunctions

Specializes the end of the recursion

Member Function Documentation

◆ eval()

template<typename Traits >
template<typename Access >
static void Dune::MonomImp::Evaluate< Traits, 1 >::eval ( const typename Traits::DomainType &  in,
const std::array< unsigned int, Traits::dimDomain > &  derivatives,
typename Traits::RangeFieldType  prod,
int  bound,
int &  index,
Access &  access 
)
inlinestatic

Todo:
Template Parameters
AccessWrapper around the result vector, so we don't have to copy the output and can still use the same code for both the usual drivatives and for the Jacobian
Parameters
inThe point at which to evaluate
derivativesThe number of partial derivatives, one entry for each dimension
prodThe product accumulated for the dimensions which have already been handled
boundThe number of factors still to go
indexThe index of the next entry in the output to fill
accessThe wrapper used to access the output vector

Member Data Documentation

◆ d

template<typename Traits >
constexpr int Dune::MonomImp::Evaluate< Traits, 1 >::d = Traits::dimDomain-1
staticconstexpr

The documentation for this struct was generated from the following file: