#include <dune/localfunctions/monom/monomlocalbasis.hh>
|
enum | { d = Traits::dimDomain - c
} |
|
|
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) |
|
template<typename Traits, int c>
struct Dune::MonomImp::Evaluate< Traits, c >
Template Metaprogramm for evaluating monomial shapefunctions
template<typename Traits , int c>
Enumerator |
---|
d |
The next dimension to try for factors.
|
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
-
Access | Wrapper 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
-
in | The point at which to evaluate |
derivatives | The number of partial derivatives, one entry for each dimension |
prod | The product accumulated for the dimensions which have already been handled |
bound | The number of factors still to go |
index | The index of the next entry in the output to fill |
access | The 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: