Dune Core Modules (unstable)

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
 
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.

References Dune::LocalKey::codim(), Dune::LocalKey::index(), Dune::power(), and Dune::LocalKey::subEntity().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Mar 28, 23:30, 2024)