dune-localfunctions  2.1.1
Public Member Functions
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:
Inheritance graph

List of all members.

Public Member Functions

template<class Backend >
 PowerCoefficients (const Backend &backend, std::size_t power)
 Construct a PowerCoefficients object.
std::size_t size () const
 number of coefficients
const LocalKeylocalKey (std::size_t i) const
 get i'th index

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

Reimplemented from Dune::CoefficientsInterface.

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

number of coefficients

Reimplemented from Dune::CoefficientsInterface.


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