Dune Core Modules (2.6.0)

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< int, Traits::dimDomain > &derivatives, typename Traits::RangeFieldType prod, int bound, int &index, Access &access)
 

Detailed Description

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

Template Metaprogramm for evaluating monomial shapefunctions

Template Parameters
TraitsThe Traits class of the monomial shape functions to evaluate – used to get DomainType etc.
cThe "codim of the next dimension to try for factors". Unfortunately, we cannot recurs over that dimension directly, since the end of the recursion cannot be specialized for dimDomain-1, but we can recurs over dimDomain minus that dimension, since it can be specialized for 1.

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< 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

References Dune::MonomImp::Evaluate< Traits, c >::d.


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.111.3 (Dec 27, 23:30, 2024)