dune-fem  2.4.1-rc
Public Types | Public Member Functions | Protected Attributes | List of all members
DuneODE::ExplicitRungeKuttaSolver< DestinationImp > Class Template Reference

Exlicit RungeKutta ODE solver. More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/solver/rungekutta/explicit.hh>

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

Public Types

typedef DestinationImp DestinationType
 
typedef SpaceOperatorInterface< DestinationImp > OperatorType
 
typedef DestinationType::DiscreteFunctionSpaceType SpaceType
 
typedef OdeSolverInterface< DestinationImp >::MonitorType MonitorType
 

Public Member Functions

 ExplicitRungeKuttaSolver (OperatorType &op, TimeProviderBase &tp, const int pord, bool verbose)
 constructor More...
 
 ExplicitRungeKuttaSolver (OperatorType &op, TimeProviderBase &tp, const int pord, const Dune::Fem::ParameterReader &parameter=Dune::Fem::Parameter::container())
 
 ~ExplicitRungeKuttaSolver ()
 destructor More...
 
void initialize (const DestinationType &U0)
 apply operator once to get dt estimate More...
 
void solve (DestinationType &U0, MonitorType &monitor)
 solve the system More...
 
void description (std::ostream &out) const
 print description of ODE solver to out stream More...
 
virtual void solve (DestinationType &u)
 solve $\partial_t u = L(u)$ where $L$ is the internal operator. More...
 

Protected Attributes

std::vector< std::vector< double > > a
 
std::vector< double > b
 
std::vector< double > c
 
std::vector< DestinationType * > Upd
 
const int ord_
 
OperatorTypeop_
 
TimeProviderBasetp_
 
bool initialized_
 

Detailed Description

template<class DestinationImp>
class DuneODE::ExplicitRungeKuttaSolver< DestinationImp >

Exlicit RungeKutta ODE solver.

Member Typedef Documentation

template<class DestinationImp >
typedef DestinationImp DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::DestinationType
template<class DestinationImp >
typedef OdeSolverInterface<DestinationImp>:: MonitorType DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::MonitorType
template<class DestinationImp >
typedef SpaceOperatorInterface<DestinationImp> DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::OperatorType
template<class DestinationImp >
typedef DestinationType :: DiscreteFunctionSpaceType DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::SpaceType

Constructor & Destructor Documentation

template<class DestinationImp >
DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::ExplicitRungeKuttaSolver ( OperatorType op,
TimeProviderBase tp,
const int  pord,
bool  verbose 
)
inline

constructor

Parameters
[in]opOperator $L$
[in]tpTimeProvider
[in]pordpolynomial order
[in]verboseverbosity
template<class DestinationImp >
DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::ExplicitRungeKuttaSolver ( OperatorType op,
TimeProviderBase tp,
const int  pord,
const Dune::Fem::ParameterReader parameter = Dune::Fem::Parameter::container() 
)
inline
template<class DestinationImp >
DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::~ExplicitRungeKuttaSolver ( )
inline

destructor

Member Function Documentation

template<class DestinationImp >
void DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::description ( std::ostream &  ) const
inlinevirtual

print description of ODE solver to out stream

Implements DuneODE::OdeSolverInterface< DestinationImp >.

template<class DestinationImp >
void DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::initialize ( const DestinationType U0)
inlinevirtual

apply operator once to get dt estimate

Implements DuneODE::OdeSolverInterface< DestinationImp >.

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

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

Parameters
[in]uunknown to solve for

Reimplemented in DuneODE::ExplicitMultiStepSolver< DestinationImp >.

Referenced by DuneODE::OdeSolverInterface< HelmholtzOperator::DomainFunctionType >::solve().

template<class DestinationImp >
void DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::solve ( DestinationType U0,
MonitorType monitor 
)
inlinevirtual

Member Data Documentation

template<class DestinationImp >
std::vector< std::vector<double> > DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::a
protected
template<class DestinationImp >
std::vector<double> DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::b
protected
template<class DestinationImp >
std::vector<double> DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::c
protected
template<class DestinationImp >
bool DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::initialized_
protected
template<class DestinationImp >
OperatorType& DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::op_
protected
template<class DestinationImp >
const int DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::ord_
protected
template<class DestinationImp >
TimeProviderBase& DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::tp_
protected
template<class DestinationImp >
std::vector<DestinationType*> DuneODE::ExplicitRungeKuttaSolver< DestinationImp >::Upd
protected

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