DUNE-ACFEM (2.5.1)
Wrap an existing DiscreteLinearFunctional into a model which only conatains this ModelConstituent. More...
#include <dune/acfem/models/modules/forcesfunctionalmodel.hh>
Public Types | |
typedef Expression | ExpressionType |
The type of the underlying expression. | |
BOUNDARY_INDICATORS | |
typedef DefaultTraitsType::DirichletIndicatorType | DirichletIndicatorType |
typedef DefaultTraitsType::NeumannIndicatorType | NeumannIndicatorType |
Public Member Functions | |
BulkForcesFunctionType | bulkForcesFunction (const GridPartType &gridPart) const |
DirichletBoundaryFunctionType | dirichletBoundaryFunction (const GridPartType &gridPart) const |
DirichletWeightFunctionType | dirichletWeightFunction (const GridPartType &gridPart) const |
NeumannBoundaryFunctionType | neumannBoundaryFunction (const GridPartType &gridPart) const |
DirichletIndicatorType | dirichletIndicator () const |
NeumannIndicatorType | neumannIndicator () const |
const ExpressionType & | expression () const |
Return a const reference to the underlying expression. | |
ExpressionType & | expression () |
Return a mutable reference to the underlying expression. | |
ExpressionType | operator* () const |
Return a copy from of the underlying expression. | |
Detailed Description
struct Dune::ACFem::ForcesFunctionalModel< LinearFunctional >
Wrap an existing DiscreteLinearFunctional into a model which only conatains this ModelConstituent.
The most convenient way to add a DiscreteLinearFunctional to the "right-hande-side" of a model is the use of algebraic expressions:
The underlying expression-templates will form a suitable ForcesFunctionalModel by means of the overloaded operator-() function and add that to the existing model.
Member Function Documentation
◆ bulkForcesFunction()
|
inlineinherited |
Generate an instance of a class defining the bulk-forces the model is subject to.
The return object is a Fem grid-function. This can be used for the case where the "right hand side" is an L2-function.
◆ dirichletBoundaryFunction()
|
inlineinherited |
Generate an instance of a class defining Dirichlet boundary values as a Fem grid-function.
◆ dirichletIndicator()
|
inlineinherited |
Generate an object to identify parts of the boundary subject to Dirichlet boundary conditions.
The return value has to obey the BoundaryIndicatorInterface.
◆ dirichletWeightFunction()
|
inlineinherited |
Generate an instance of a class defining a "left hand side" weight on the Dirichlet boundary conditions, DefaultModelTraits::DirichletWeightFunctionType.
◆ neumannBoundaryFunction()
|
inlineinherited |
Generate an instance of a class defining Neumann boundary values as a Fem grid-function.
◆ neumannIndicator()
|
inlineinherited |
Generate an object to identify parts of the boundary subject to Neumann boundary conditions.
The return value has to obey the BoundaryIndicatorInterface.
The documentation for this struct was generated from the following file:
- dune/acfem/models/modules/forcesfunctionalmodel.hh