dune-localfunctions  2.2.1
Public Member Functions | List of all members
Dune::PowerCoefficients Class Reference

Meta-coefficients turning a scalar coefficients into vector-valued coefficients. More...

#include <dune/localfunctions/meta/power/coefficients.hh>

Inheritance diagram for Dune::PowerCoefficients:
Dune::CoefficientsInterface

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 LocalKeylocalKey (std::size_t i) const
 get i'th index More...
 

Detailed Description

Meta-coefficients turning a scalar coefficients into vector-valued coefficients.

Constructor & Destructor Documentation

template<class Backend >
Dune::PowerCoefficients::PowerCoefficients ( const Backend &  backend,
std::size_t  power 
)
inline

Construct a PowerCoefficients object.

Parameters
backendThe backend coeficients object to raise to a power.
powerPower 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().

Member Function Documentation

const LocalKey& Dune::PowerCoefficients::localKey ( std::size_t  i) const
inline

get i'th index

std::size_t Dune::PowerCoefficients::size ( ) const
inline

number of coefficients


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