DUNE-ACFEM (2.5.1)

Dune::ACFem::LocalRightHandSideAdapter< OperatorParts, Solution > Class Template Reference

An adapter class which takes any ACFem-PDE model and computes from its bulk contributions and any given GridFunction a bulk forces density field (AKA "right hand side") such that the discrete solution of the PDE model should approximate the underlying "exact solution". More...

#include <dune/acfem/functions/righthandsidefunction.hh>

+ Collaboration diagram for Dune::ACFem::LocalRightHandSideAdapter< OperatorParts, Solution >:

Public Member Functions

 LocalRightHandSideAdapter (const OperatorPartsInterfaceType &operatorParts, const Fem::Function< FunctionSpaceType, SolutionType > &solution, const std::string &name="")
 Construct the right hand side function from a given PDE model and a given – potentially non-discrete – function.
 
 LocalRightHandSideAdapter (const LocalRightHandSideAdapter &other)
 
template<class PointType >
void evaluate (const PointType &x, RangeType &result) const
 evaluate local function
 
template<class PointType >
void jacobian (const PointType &x, JacobianRangeType &ret) const
 jacobian of local function
 

Detailed Description

template<class OperatorParts, class Solution>
class Dune::ACFem::LocalRightHandSideAdapter< OperatorParts, Solution >

An adapter class which takes any ACFem-PDE model and computes from its bulk contributions and any given GridFunction a bulk forces density field (AKA "right hand side") such that the discrete solution of the PDE model should approximate the underlying "exact solution".

Constructor & Destructor Documentation

◆ LocalRightHandSideAdapter()

template<class OperatorParts , class Solution >
Dune::ACFem::LocalRightHandSideAdapter< OperatorParts, Solution >::LocalRightHandSideAdapter ( const LocalRightHandSideAdapter< OperatorParts, Solution > &  other)
inline

Needed, otherwise solution_ and localSolution_ may "fall apart"


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)