dune-localfunctions  2.2.1
Public Types | Static Public Member Functions | List of all members
Dune::MonomImp::Evaluate< Traits, c > Struct Template Reference

#include <dune/localfunctions/monom/monomlocalbasis.hh>

Public Types

enum  { d = Traits::dimDomain - c }
 

Static Public Member Functions

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

Detailed Description

template<typename Traits, int c>
struct Dune::MonomImp::Evaluate< Traits, c >

Template Metaprogramm for evaluating monomial shapefunctions

Member Enumeration Documentation

template<typename Traits , int c>
anonymous enum
Enumerator
d 

The next dimension to try for factors.

Member Function Documentation

template<typename Traits , int c>
template<typename Access >
static void Dune::MonomImp::Evaluate< Traits, c >::eval ( const typename Traits::DomainType &  in,
const 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
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

References Dune::MonomImp::Evaluate< Traits, c >::d, and Dune::MonomImp::ipow().


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