DUNE-ACFEM (2.5.1)

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

A Neumann-boundary model. More...

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

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

Public Types

typedef Expression ExpressionType
 The type of the underlying expression.
 
BOUNDARY_INDICATORS
typedef DefaultTraitsType::DirichletIndicatorType DirichletIndicatorType
 

Public Member Functions

std::string name () const
 Print a descriptive name for debugging and output. More...
 
bool setIntersection (const IntersectionType &intersection) const
 
NeumannIndicatorType neumannIndicator () const
 Generate an object to identify parts of the boundary subject to Neumann boundary conditions. More...
 
NeumannBoundaryFunctionType neumannBoundaryFunction (const GridPartType &gridPart) const
 Generate an instance of a class defining Neumann boundary values as a Fem grid-function. More...
 
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
 
DirichletBoundaryFunctionType dirichletBoundaryFunction (const GridPartType &gridPart) const
 
DirichletWeightFunctionType dirichletWeightFunction (const GridPartType &gridPart) const
 
DirichletIndicatorType dirichletIndicator () 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::NeumannBoundaryModel< GridFunction, Indicator >

A Neumann-boundary model.

We model the following boundary conditions here:

\[ \frac{\pratial u{\partial \nu} = g_N \text{ on }\Gamma_N \]

Parameters
[in]GridFunctiongN
[in]IndicatorThe boundary indicator function which decides on which part of the boundary the Neumann boundary conditions is imposed.
Note
Note that GridFunction may already be a BoundarySupportedFunction in which case the resulting Neumann condition is imposed on the intersection of the supports of GridFunction and Indicator.

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.

◆ dirichletBoundaryFunction()

DirichletBoundaryFunctionType Dune::ACFem::DefaultModel< Expression >::dirichletBoundaryFunction ( const GridPartType &  gridPart) const
inlineinherited

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

◆ dirichletIndicator()

DirichletIndicatorType Dune::ACFem::DefaultModel< Expression >::dirichletIndicator ( ) const
inlineinherited

Generate an object to identify parts of the boundary subject to Dirichlet boundary conditions.

The return value has to obey the BoundaryIndicatorInterface.

◆ dirichletWeightFunction()

DirichletWeightFunctionType Dune::ACFem::DefaultModel< Expression >::dirichletWeightFunction ( const GridPartType &  gridPart) const
inlineinherited

Generate an instance of a class defining a "left hand side" weight on the Dirichlet boundary conditions, DefaultModelTraits::DirichletWeightFunctionType.

◆ 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.


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 (May 4, 22:30, 2024)