DUNE PDELab (git)
Dune::MonomImp::Evaluate< Traits, c > Struct Template Reference
#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 - c |
The next dimension to try for factors. | |
Detailed Description
template<typename Traits, int c>
struct Dune::MonomImp::Evaluate< Traits, c >
struct Dune::MonomImp::Evaluate< Traits, c >
Template Metaprogramm for evaluating monomial shapefunctions
- Template Parameters
-
Traits The Traits class of the monomial shape functions to evaluate – used to get DomainType etc. c The "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 recurse over dimDomain minus that dimension, since it can be specialized for 1.
Member Function Documentation
◆ eval()
template<typename Traits , int c>
template<typename Access >
|
inlinestatic |
- 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, Dune::MonomImp::Evaluate< Traits, c >::eval(), and Dune::power().
Referenced by Dune::MonomImp::Evaluate< Traits, c >::eval().
The documentation for this struct was generated from the following file:
- dune/localfunctions/monomial/monomiallocalbasis.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 23, 23:29, 2024)