dune-localfunctions
2.2.1
|
Meta-coefficients turning a scalar coefficients into vector-valued coefficients. More...
#include <dune/localfunctions/meta/power/coefficients.hh>
Public Member Functions | |
template<class Backend > | |
PowerCoefficients (const Backend &backend, std::size_t power) | |
Construct a PowerCoefficients object. More... | |
std::size_t | size () const |
number of coefficients More... | |
const LocalKey & | localKey (std::size_t i) const |
get i'th index More... | |
Meta-coefficients turning a scalar coefficients into vector-valued coefficients.
|
inline |
Construct a PowerCoefficients object.
backend | The backend coeficients object to raise to a power. |
power | Power to raise the backend object to. |
The LocalKeys of the backend coefficients are copied into internal storage. The index member of each LocalKey is modified to keep them unique for instances of different power.
References Dune::LocalKey::codim(), Dune::LocalKey::index(), and Dune::LocalKey::subEntity().
|
inline |
get i'th index
|
inline |
number of coefficients