dune-fem 2.8.0
|
Interface class for ODE Solver. More...
#include <dune/fem/solver/odesolverinterface.hh>
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 ![]() ![]() | |
virtual void | solve (DestinationType &u, MonitorType &monitor)=0 |
solve ![]() ![]() | |
virtual void | description (std::ostream &) const =0 |
print description of ODE solver to out stream | |
Protected Member Functions | |
OdeSolverInterface () | |
constructor | |
Interface class for ODE Solver.
typedef DestinationImp DuneODE::OdeSolverInterface< DestinationImp >::DestinationType |
type of destination
typedef Monitor DuneODE::OdeSolverInterface< DestinationImp >::MonitorType |
monitor type
|
inlineprotected |
constructor
|
inlinevirtual |
destructor
|
pure virtual |
print description of ODE solver to out stream
Implemented in DuneODE::BasicImplicitRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >, DuneODE::BasicImplicitRungeKuttaSolver< ParDGHelmholtz< Destination >, ParDGNewtonInverse< Destination >, ImplicitRungeKuttaTimeStepControl >, DuneODE::BasicImplicitRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, ImplicitRungeKuttaTimeStepControl >, DuneODE::BasicImplicitRungeKuttaSolver< ParDGHelmholtz< Destination >, ParDGNewtonInverse< Destination >, ImplicitRungeKuttaTimeStepControl, SemiImplicitRungeKuttaSourceTerm< SpaceOperatorInterface< Destination > > >, DuneODE::BasicImplicitRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, ImplicitRungeKuttaTimeStepControl, SemiImplicitRungeKuttaSourceTerm< ExplicitOperator > >, DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >, DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, ImplicitRungeKuttaTimeStepControl >, and DuneODE::ExplicitRungeKuttaSolver< DestinationImp >.
|
pure virtual |
initialize solver
[in] | arg | argument to apply internal operator once for intial time step estimate |
Implemented in DuneODE::ExplicitMultiStepSolver< DestinationImp >, and DuneODE::ExplicitRungeKuttaSolver< DestinationImp >.
|
inlinevirtual |
solve
[in] | u | unknown to solve for |
Reimplemented in DuneODE::ExplicitMultiStepSolver< DestinationImp >.
|
pure virtual |
solve
[in] | u | unknown to solve for |
[in] | monitor | Monitor to get some inside information |
Implemented in DuneODE::ExplicitRungeKuttaSolver< DestinationImp >.