DUNE-ACFEM (2.5.1)
Dune::ACFem::FixedForcesFunctionalTraits< DiscreteFunctionSpace, LinearFunctional > Struct Template Reference
Utiliy class to aid in the definition of ModelInterface::ForcesFunctionalTraits. More...
#include <dune/acfem/models/modelinterface.hh>
Detailed Description
template<class DiscreteFunctionSpace, class LinearFunctional>
struct Dune::ACFem::FixedForcesFunctionalTraits< DiscreteFunctionSpace, LinearFunctional >
struct Dune::ACFem::FixedForcesFunctionalTraits< DiscreteFunctionSpace, LinearFunctional >
Utiliy class to aid in the definition of ModelInterface::ForcesFunctionalTraits.
Models which need one fixed-type functional may simply derive their ForcesFunctionalTraits from this somewhat cooked implementation. BIG FAT NOTE: models which only require the standard L2 "rhs" are not involved at all.
Admittingly, the definition of ModelInterface::ForcesFunctionalTraits is somewhat involved. It has to provide a valid FunctionalType definition according to the following rules, FunctionalType has
- to expand to a valid DiscreteLinearFunctional for a Fem::DiscreteFunctionSpaceAdapter
- to expand to a ZeroFunctional if the underlyling functional is a ZeroFunctional
- to expand to something other than a ZeroFunctional, but this "other" still must satisfy the DiscreteLinearFunctional interface.
- to expand to the correct functional in case of a "positive" discrete space hit.
- not to have the property that ModelInterface::ForcesFunctionalTraits results in a valid type-definition for all other case.
The documentation for this struct was generated from the following file:
- dune/acfem/models/modelinterface.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)