dune-fem 2.8.0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Protected Member Functions | List of all members
DuneODE::OdeSolverInterface< DestinationImp > Class Template Referenceabstract

Interface class for ODE Solver. More...

#include <dune/fem/solver/odesolverinterface.hh>

Inheritance diagram for DuneODE::OdeSolverInterface< DestinationImp >:
Inheritance graph

Classes

struct  Monitor
 

Public Types

typedef Monitor MonitorType
 monitor type
 
typedef DestinationImp DestinationType
 type of destination
 

Public Member Functions

virtual ~OdeSolverInterface ()
 destructor
 
virtual void initialize (const DestinationType &arg)=0
 initialize solver
 
virtual void solve (DestinationType &u)
 solve $\partial_t u = L(u)$ where $L$ is the internal operator.
 
virtual void solve (DestinationType &u, MonitorType &monitor)=0
 solve $\partial_t u = L(u)$ where $L$ is the internal operator.
 
virtual void description (std::ostream &) const =0
 print description of ODE solver to out stream
 

Protected Member Functions

 OdeSolverInterface ()
 constructor
 

Detailed Description

template<class DestinationImp>
class DuneODE::OdeSolverInterface< DestinationImp >

Interface class for ODE Solver.

Member Typedef Documentation

◆ DestinationType

template<class DestinationImp >
typedef DestinationImp DuneODE::OdeSolverInterface< DestinationImp >::DestinationType

type of destination

◆ MonitorType

template<class DestinationImp >
typedef Monitor DuneODE::OdeSolverInterface< DestinationImp >::MonitorType

monitor type

Constructor & Destructor Documentation

◆ OdeSolverInterface()

template<class DestinationImp >
DuneODE::OdeSolverInterface< DestinationImp >::OdeSolverInterface ( )
inlineprotected

constructor

◆ ~OdeSolverInterface()

template<class DestinationImp >
virtual DuneODE::OdeSolverInterface< DestinationImp >::~OdeSolverInterface ( )
inlinevirtual

destructor

Member Function Documentation

◆ description()

template<class DestinationImp >
virtual void DuneODE::OdeSolverInterface< DestinationImp >::description ( std::ostream &  ) const
pure virtual

◆ initialize()

template<class DestinationImp >
virtual void DuneODE::OdeSolverInterface< DestinationImp >::initialize ( const DestinationType arg)
pure virtual

initialize solver

Parameters
[in]argargument to apply internal operator once for intial time step estimate

Implemented in DuneODE::ExplicitMultiStepSolver< DestinationImp >, and DuneODE::ExplicitRungeKuttaSolver< DestinationImp >.

◆ solve() [1/2]

template<class DestinationImp >
virtual void DuneODE::OdeSolverInterface< DestinationImp >::solve ( DestinationType u)
inlinevirtual

solve $\partial_t u = L(u)$ where $L$ is the internal operator.

Parameters
[in]uunknown to solve for

Reimplemented in DuneODE::ExplicitMultiStepSolver< DestinationImp >.

◆ solve() [2/2]

template<class DestinationImp >
virtual void DuneODE::OdeSolverInterface< DestinationImp >::solve ( DestinationType u,
MonitorType monitor 
)
pure virtual

solve $\partial_t u = L(u)$ where $L$ is the internal operator.

Parameters
[in]uunknown to solve for
[in]monitorMonitor to get some inside information

Implemented in DuneODE::ExplicitRungeKuttaSolver< DestinationImp >.


The documentation for this class was generated from the following file: