DUNE-ACFEM (2.5.1)

Dune::ACFem::ZeroFunctional< DiscreteFunctionSpace > Class Template Reference

This is the famous "do-nothing" functional. More...

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

Public Types

typedef Traits::GlobalFunctionalType ExpressionType
 The type of the underlying expression.
 

Public Member Functions

template<class DFTraits >
void coefficients (Fem::DiscreteFunctionInterface< DFTraits > &coeffs)
 Compute the basis representation, which means: do the assembling stuff.
 
template<class DFImpl >
void coefficients (Fem::DiscreteFunctionInterface< DFImpl > &coeffs)
 Compute the basis representation, which means: do the assembling stuff.
 
template<class DFImpl >
RangeType operator() (const Fem::DiscreteFunctionInterface< DFImpl > &arg) const
 Compute the value.
 
const ExpressionTypeexpression () const
 Return a const reference to the underlying expression.
 
ExpressionTypeexpression ()
 Return a mutable reference to the underlying expression.
 
ExpressionType operator* () const
 Return a copy from of the underlying expression.
 

Detailed Description

template<class DiscreteFunctionSpace>
class Dune::ACFem::ZeroFunctional< DiscreteFunctionSpace >

This is the famous "do-nothing" functional.

It is used in default definitions for PDE-Models and further on to define not too unefficient ExpressionTemplates. This DiscreteLinearFunctional efficiently evaluates to zero, at global and the local level.


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 26, 22:29, 2024)