DUNE-ACFEM (2.5.1)

Dune::ACFem::BinaryLocalFunctionalExpression< SMultiplyOperation, LeftArg, RightArg > Class Template Reference

Implement S-multiplication by scalars and parameters from the left, multiplication from the right will be redirected to this class. More...

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

+ Collaboration diagram for Dune::ACFem::BinaryLocalFunctionalExpression< SMultiplyOperation, LeftArg, RightArg >:

Public Member Functions

RangeType operator() (const LocalFunction &arg) const
 Compute the value.
 
void coefficients (const RangeType &c, LocalFunction &coeffs) const
 

Detailed Description

template<class LeftArg, class RightArg>
class Dune::ACFem::BinaryLocalFunctionalExpression< SMultiplyOperation, LeftArg, RightArg >

Implement S-multiplication by scalars and parameters from the left, multiplication from the right will be redirected to this class.

Note that it is not necessary to specialize the global functional expression, but as a scalar really has no "localObject()" method we have to specialize this one.

Member Function Documentation

◆ coefficients()

void Dune::ACFem::LocalLinearFunctionalDefault< RightArg::DiscreteFunctionSpaceType , BinaryFunctionalExpressionTraits< SMultiplyOperation, LeftArg, RightArg > >::coefficients ( const RangeType &  c,
LocalFunction &  coeffs 
) const
inlineinherited

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\)


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 (Apr 27, 22:29, 2024)