dune-localfunctions 2.10
Loading...
Searching...
No Matches
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:
Inheritance graph

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

◆ PowerCoefficients()

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

Construct a PowerCoefficients object.

Parameters
backendThe backend coefficients 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.

Member Function Documentation

◆ localKey()

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

get i'th index

◆ size()

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

number of coefficients


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