DUNE-ACFEM (2.5.1)
A Dirichlet model. More...
#include <dune/acfem/models/modules/dirichletmodel.hh>
Public Types | |
typedef Expression | ExpressionType |
The type of the underlying expression. | |
BOUNDARY_INDICATORS | |
typedef DefaultTraitsType::NeumannIndicatorType | NeumannIndicatorType |
Public Member Functions | |
const GridPartType & | gridPart () const |
Return the GridPart (non-interface method) | |
BulkForcesFunctionType | bulkForcesFunction (const GridPartType &gridPart) const |
TraitsType::template ForcesFunctionalTraits< DiscreteFunctionSpace >::FunctionalType | forcesFunctional (const DiscreteFunctionSpace &space) const |
NeumannBoundaryFunctionType | neumannBoundaryFunction (const GridPartType &gridPart) 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
class Dune::ACFem::DirichletBoundaryModel< GridFunction, Indicator >
A Dirichlet model.
Form a Dirichlet-boundary-value model from an existing grid-function and a suitable BoundaryIndicator.
- Parameters
-
[in] GridFunction The "right hand side" for the Dirichlet boundary conditions. [in] Indicator The boundary indicator function which decides on which part of the boundary the Dirichlet data is imposed.
- Note
- GridFunction may already be a BoundarySupportedFunction in which case the resulting Dirichlet condition is imposed on the intersection of the supports of GridFunction and Indicator.
- Bug:
- ATM, the product of Indicator and GridFunction (which may already be a BoundarySupportedFunction) determine the part of the bounday subject to Dirichlet-conditions. This should perhaps be changed s.t. that only Indicator carries this information.
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.
◆ forcesFunctional()
|
inlineinherited |
Generate an instance of a class defining a functional which forms part of the force-terms for the model.
◆ 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 class was generated from the following file:
- dune/acfem/models/modules/dirichletmodel.hh