DUNE-ACFEM (2.5.1)

Dune::ACFem::TransientProblemInterface< FunctionSpace, TimeProvider > Class Template Reference

problem interface class for time dependent problem descriptions, i.e. More...

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

+ Collaboration diagram for Dune::ACFem::TransientProblemInterface< FunctionSpace, TimeProvider >:

Public Member Functions

 TransientProblemInterface (const TimeProviderType &timeProvider, double theta=0.0)
 constructor taking time provider
 
double time () const
 return current simulation time
 
double deltaT () const
 return current time step size ( \(\Delta_t\))
 
const TimeViewTypetimeView () const
 return reference to Problem's time provider
 
TimeViewTypetimeView ()
 return reference to Problem's time provider
 
virtual bool has (OperatorPartsType what) const
 May be used for optimizations during assembly. More...
 
virtual void f (const DomainType &x, RangeType &value) const
 the right hand side data (default = 0)
 
virtual void u (const DomainType &x, RangeType &value) const
 the exact solution (default = 0)
 
virtual void uJacobian (const DomainType &x, JacobianRangeType &value) const
 the jacobian of the exact solution (default = 0)
 
virtual bool isDirichletSegment (const int bndId, const DomainType &center) const
 Classification of the kind of boundary conditions which applies to a boundary segment with the given Id. More...
 
virtual bool isNeumannSegment (const int bndId, const DomainType &center) const
 Classification of the kind of boundary conditions which applies to a boundary segment with the given Id. More...
 
virtual bool isRobinSegment (const int bndId, const DomainType &center) const
 Classification of the kind of boundary conditions which applies to a boundary segment with the given Id. More...
 
virtual void dirichletData (const DomainType &x, RangeType &value) const
 The Dirichlet boundary data. More...
 
virtual void neumannData (const DomainType &x, RangeType &value) const
 The Neumann boundary data. More...
 
virtual void robinData (const DomainType &x, const RangeType &u, RangeType &value) const
 The Robin boundary data. More...
 
virtual void secondOrderCoefficient (const DomainType &x, const JacobianRangeType &gradient, JacobianRangeType &result) const
 This method has to implement the second order term for the weak formulation, it needs to compute. More...
 
virtual void secondOrderCoefficient (const DomainType &x, const JacobianRangeType &Du, const HessianRangeType &D2u, RangeType &result) const
 This method has to implement the second order term for the point-wise operator. More...
 
virtual void firstOrderCoefficient (const DomainType &x, const RangeType &u, const JacobianRangeType &Du, RangeType &result) const
 First order term with derivative on u. More...
 
virtual void zeroOrderCoefficient (const DomainType &x, const RangeType &u, RangeType &result) const
 Zero order coefficient. More...
 

Detailed Description

template<class FunctionSpace, class TimeProvider>
class Dune::ACFem::TransientProblemInterface< FunctionSpace, TimeProvider >

problem interface class for time dependent problem descriptions, i.e.

right hand side, boudnary data, and, if exsistent, an exact solution. A routine time() is provided.


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)