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

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

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

Public Types

typedef DestinationImp DestinationType
 type of destination function More...
 
typedef PARDGSpaceOperatorInterface< DestinationTypeOperatorType
 type of discretization operator More...
 
typedef OdeSolverInterface< DestinationImp >::MonitorType MonitorType
 type of monitor class More...
 

Public Member Functions

void initialize (const DestinationType &U0)
 initialize solver 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...
 
virtual void solve (DestinationType &u, MonitorType &monitor)=0
 solve $\partial_t u = L(u)$ where $L$ is the internal operator. More...
 

Protected Member Functions

 ParDGOdeSolverBase (TimeProviderBase &tp, const int order)
 constructor More...
 
void initializeOdeSolver ()
 
 ~ParDGOdeSolverBase ()
 destructor More...
 
PARDG::ODESolver & odeSolver ()
 return reference to ode solver More...
 
virtual std::string name () const =0
 return name of ode solver More...
 
virtual PARDG::ODESolver * createOdeSolver ()=0
 return ode solver object More...
 
virtual const OperatorTypespaceOperator () const =0
 return reference to discretization operator for time step initialization More...
 

Protected Attributes

TimeProviderBasetimeProvider_
 
PARDG::Communicator & comm_
 
const int order_
 
bool initialized_
 

Member Typedef Documentation

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

type of destination function

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

type of monitor class

template<class DestinationImp >
typedef PARDGSpaceOperatorInterface<DestinationType> DuneODE::ParDGOdeSolverBase< DestinationImp >::OperatorType

type of discretization operator

Constructor & Destructor Documentation

template<class DestinationImp >
DuneODE::ParDGOdeSolverBase< DestinationImp >::ParDGOdeSolverBase ( TimeProviderBase tp,
const int  order 
)
inlineprotected

constructor

template<class DestinationImp >
DuneODE::ParDGOdeSolverBase< DestinationImp >::~ParDGOdeSolverBase ( )
inlineprotected

destructor

Member Function Documentation

template<class DestinationImp >
virtual PARDG::ODESolver* DuneODE::ParDGOdeSolverBase< DestinationImp >::createOdeSolver ( )
protectedpure virtual
template<class DestinationImp >
void DuneODE::ParDGOdeSolverBase< DestinationImp >::description ( std::ostream &  ) const
inlinevirtual

print description of ODE solver to out stream

Implements DuneODE::OdeSolverInterface< DestinationImp >.

template<class DestinationImp >
void DuneODE::ParDGOdeSolverBase< DestinationImp >::initialize ( const DestinationType arg)
inlinevirtual

initialize solver

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

Implements DuneODE::OdeSolverInterface< DestinationImp >.

Reimplemented in DuneODE::SemiImplicitOdeSolver< DestinationImp >.

template<class DestinationImp >
void DuneODE::ParDGOdeSolverBase< DestinationImp >::initializeOdeSolver ( )
inlineprotected
template<class DestinationImp >
virtual std::string DuneODE::ParDGOdeSolverBase< DestinationImp >::name ( ) const
protectedpure virtual
template<class DestinationImp >
PARDG::ODESolver& DuneODE::ParDGOdeSolverBase< DestinationImp >::odeSolver ( )
inlineprotected

return reference to ode solver

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>
virtual void DuneODE::OdeSolverInterface< DestinationImp >::solve ( DestinationType u,
MonitorType monitor 
)
pure virtualinherited
template<class DestinationImp >
virtual const OperatorType& DuneODE::ParDGOdeSolverBase< DestinationImp >::spaceOperator ( ) const
protectedpure virtual

return reference to discretization operator for time step initialization

Implemented in DuneODE::SemiImplicitOdeSolver< DestinationImp >, DuneODE::ImplicitOdeSolver< DestinationImp >, and DuneODE::ExplicitOdeSolver< DestinationImp >.

Member Data Documentation

template<class DestinationImp >
PARDG::Communicator& DuneODE::ParDGOdeSolverBase< DestinationImp >::comm_
protected
template<class DestinationImp >
bool DuneODE::ParDGOdeSolverBase< DestinationImp >::initialized_
protected
template<class DestinationImp >
const int DuneODE::ParDGOdeSolverBase< DestinationImp >::order_
protected
template<class DestinationImp >
TimeProviderBase& DuneODE::ParDGOdeSolverBase< DestinationImp >::timeProvider_
protected

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