DUNE-ACFEM (2.5.1)

Dune::ACFem::DirichletBoundaryModel< GridFunction, Indicator > Class Template Reference

A Dirichlet model. More...

#include <dune/acfem/models/modules/dirichletmodel.hh>

+ Collaboration diagram for Dune::ACFem::DirichletBoundaryModel< GridFunction, Indicator >:

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 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 GridFunction, class Indicator = EntireBoundaryIndicatorType>
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]GridFunctionThe "right hand side" for the Dirichlet boundary conditions.
[in]IndicatorThe 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()

BulkForcesFunctionType Dune::ACFem::DefaultModel< Expression >::bulkForcesFunction ( const GridPartType &  gridPart) const
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()

TraitsType::template ForcesFunctionalTraits< DiscreteFunctionSpace >::FunctionalType Dune::ACFem::DefaultModel< Expression >::forcesFunctional ( const DiscreteFunctionSpace &  space) const
inlineinherited

Generate an instance of a class defining a functional which forms part of the force-terms for the model.

◆ neumannBoundaryFunction()

NeumannBoundaryFunctionType Dune::ACFem::DefaultModel< Expression >::neumannBoundaryFunction ( const GridPartType &  gridPart) const
inlineinherited

Generate an instance of a class defining Neumann boundary values as a Fem grid-function.

◆ neumannIndicator()

NeumannIndicatorType Dune::ACFem::DefaultModel< Expression >::neumannIndicator ( ) const
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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)