DUNE-ACFEM (2.5.1)

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

Default implementation for LocalLinearFunctional. More...

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

+ Collaboration diagram for Dune::ACFem::LocalLinearFunctionalDefault< DiscreteFunctionSpace, Traits >:

Public Member Functions

void init (const EntityType &entity)
 Bind to an entity.
 
template<class LocalFunction >
RangeType operator() (const LocalFunction &arg) const
 Compute the value.
 
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...
 

Detailed Description

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

Default implementation for LocalLinearFunctional.

The default implementation has a non-trivial constructor and implements the methods

Member Function Documentation

◆ coefficients() [1/2]

template<class DiscreteFunctionSpace , class Traits >
template<class LocalFunction >
void Dune::ACFem::LocalLinearFunctionalDefault< 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(), and Dune::ACFem::LocalLinearFunctionalDefault< DiscreteFunctionSpace, Traits >::coefficients().

◆ coefficients() [2/2]

template<class DiscreteFunctionSpace , class Traits >
template<class LocalFunction >
void Dune::ACFem::LocalLinearFunctionalDefault< 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().

Referenced by Dune::ACFem::LocalLinearFunctionalDefault< DiscreteFunctionSpace, Traits >::coefficients().


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)