DUNE-ACFEM (2.5.1)

Dune::ACFem::LocalLinearFunctional< DiscreteFunctionSpace, Traits > Class Template Reference

Interface or better: factory for local functionals. More...

#include <dune/acfem/operators/functionals/linearfunctional.hh>

Public Member Functions

void init (const EntityType &entity)
 Bind to an entity.
 
template<class LocalFunction >
RangeType operator() (const LocalFunction &arg) const
 Compute the value of the functional.
 
template<class LocalFunction >
void coefficients (LocalFunction &coeffs) const
 Compute the basis representation, which means: do the assembling stuff. More...
 
template<class LocalFunction >
void coefficients (const RangeType &c, LocalFunction &coeffs) const
 Compute the basis representation, which means: do the assembling stuff. More...
 
const FunctionalType & functional () const
 Return the underlying global functional this LocalLinearFunctional instance belongs to.
 
const EntityType & entity () const
 Return the entity the LocalLinearFunctional instance is tied to.
 

Detailed Description

template<class DiscreteFunctionSpace, class Traits>
class Dune::ACFem::LocalLinearFunctional< DiscreteFunctionSpace, Traits >

Interface or better: factory for local functionals.

Member Function Documentation

◆ coefficients() [1/2]

template<class DiscreteFunctionSpace , class Traits >
template<class LocalFunction >
void Dune::ACFem::LocalLinearFunctional< DiscreteFunctionSpace, Traits >::coefficients ( const RangeType &  c,
LocalFunction &  coeffs 
) const
inline

Compute the basis representation, which means: do the assembling stuff.

To support expression templates this version accecpts a scalar factor and computes

\[ <c\,\Psi|_E, \phi^k|_E> \]

for all local basis functions \(\phi^k|_E\)

References Dune::ACFem::asImp().

◆ coefficients() [2/2]

template<class DiscreteFunctionSpace , class Traits >
template<class LocalFunction >
void Dune::ACFem::LocalLinearFunctional< DiscreteFunctionSpace, Traits >::coefficients ( LocalFunction &  coeffs) const
inline

Compute the basis representation, which means: do the assembling stuff.

This has to compute

\[ <\Psi|_E, \phi^k|_E> \]

for all local basis functions \(\phi^k|_E\)

References Dune::ACFem::asImp().


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.111.3 (Nov 12, 23:30, 2024)