DUNE-ACFEM (unstable)

Building Blocks for the Driving Forces

Some models for the "right hand side", L2 "bulk forces" and DiscreteLinearFunctionals. More...

Modules

 Generate Model-Building-Blocks Conveniently
 Some utility function in order to conveniently define some standard models without having to go through the "typedef" trouble.
 

Classes

class  Dune::ACFem::PDEModel::BulkLoadFunctionModel< GridFunction >
 Wrap an existing GridFunction into a model which only conatains this ModelConstituent. More...
 

Detailed Description

Some models for the "right hand side", L2 "bulk forces" and DiscreteLinearFunctionals.

The two basic models defined here are

  • BulkForcesFunctionModel in order to add an L2-function to the right hand side.
  • ForcesFunctionalModel in order to add a globally defined functional.

The most simple way to add these models is to use ModelExpression templates, see

  • operator-(const ModelInterface<Model>&, const Fem::Function<typename Model::FunctionSpaceType, GridFunction>&)
  • operator-(const ModelInterface<Model>&, const DiscreteLinearFunctional<DiscreteFunctionSpace, Traits>&).

like follows, given an existing model and grid-function F:

MyGridFunctionObject F;
auto newModel = existingModel - F;
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 2, 22:35, 2024)