DUNE-ACFEM (2.5.1)

Dune::ACFem::DefaultModel< ModelType > Class Template Reference

Default model implementation. More...

#include <dune/acfem/models/modelinterface.hh>

+ Collaboration diagram for Dune::ACFem::DefaultModel< ModelType >:

Classes

struct  ForcesFunctionalTraits
 

Public Types

BOUNDARY_INDICATORS
typedef DefaultTraitsType::DirichletIndicatorType DirichletIndicatorType
 
typedef DefaultTraitsType::NeumannIndicatorType NeumannIndicatorType
 

Public Member Functions

std::string name () const
 Print a descriptive name for debugging and output.
 
BulkForcesFunctionType bulkForcesFunction (const GridPartType &gridPart) const
 Generate an instance of a class defining the bulk-forces the model is subject to. More...
 
template<class DiscreteFunctionSpace >
TraitsType::template ForcesFunctionalTraits< DiscreteFunctionSpace >::FunctionalType forcesFunctional (const DiscreteFunctionSpace &space) const
 Generate an instance of a class defining a functional which forms part of the force-terms for the model. More...
 
DirichletBoundaryFunctionType dirichletBoundaryFunction (const GridPartType &gridPart) const
 Generate an instance of a class defining Dirichlet boundary values as a Fem grid-function. More...
 
DirichletWeightFunctionType dirichletWeightFunction (const GridPartType &gridPart) const
 Generate an instance of a class defining a "left hand side" weight on the Dirichlet boundary conditions, DefaultModelTraits::DirichletWeightFunctionType. More...
 
NeumannBoundaryFunctionType neumannBoundaryFunction (const GridPartType &gridPart) const
 Generate an instance of a class defining Neumann boundary values as a Fem grid-function. More...
 
DirichletIndicatorType dirichletIndicator () const
 Generate an object to identify parts of the boundary subject to Dirichlet boundary conditions. More...
 
NeumannIndicatorType neumannIndicator () const
 Generate an object to identify parts of the boundary subject to Neumann boundary conditions. More...
 

Detailed Description

template<class ModelType>
class Dune::ACFem::DefaultModel< ModelType >

Default model implementation.

The default implementation is the zero model, i.e. no boundary classifator ever applies, all data functions and operator germs simply return zero.

Member Function Documentation

◆ bulkForcesFunction()

template<class ModelType >
BulkForcesFunctionType Dune::ACFem::DefaultModel< ModelType >::bulkForcesFunction ( const GridPartType &  gridPart) const
inline

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()

template<class ModelType >
DirichletBoundaryFunctionType Dune::ACFem::DefaultModel< ModelType >::dirichletBoundaryFunction ( const GridPartType &  gridPart) const
inline

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

◆ dirichletIndicator()

template<class ModelType >
DirichletIndicatorType Dune::ACFem::DefaultModel< ModelType >::dirichletIndicator ( ) const
inline

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

The return value has to obey the BoundaryIndicatorInterface.

◆ dirichletWeightFunction()

template<class ModelType >
DirichletWeightFunctionType Dune::ACFem::DefaultModel< ModelType >::dirichletWeightFunction ( const GridPartType &  gridPart) const
inline

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

◆ forcesFunctional()

template<class ModelType >
template<class DiscreteFunctionSpace >
TraitsType::template ForcesFunctionalTraits< DiscreteFunctionSpace >::FunctionalType Dune::ACFem::DefaultModel< ModelType >::forcesFunctional ( const DiscreteFunctionSpace &  space) const
inline

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

◆ neumannBoundaryFunction()

template<class ModelType >
NeumannBoundaryFunctionType Dune::ACFem::DefaultModel< ModelType >::neumannBoundaryFunction ( const GridPartType &  gridPart) const
inline

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

◆ neumannIndicator()

template<class ModelType >
NeumannIndicatorType Dune::ACFem::DefaultModel< ModelType >::neumannIndicator ( ) const
inline

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)