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

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

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

Public Types

typedef BaseType::OperatorType OperatorType
 
typedef BaseType::DestinationType DestinationType
 
typedef BaseType::MonitorType MonitorType
 

Public Member Functions

 SemiImplicitOdeSolver (OperatorType &explOp, OperatorType &implOp, TimeProviderBase &tp, const int order, const ODEParameters &parameter=ODEParameters())
 
void initialize (const DestinationType &U0)
 initialize solver More...
 
void solve (DestinationType &U0, MonitorType &monitor)
 solve More...
 
virtual void solve (DestinationType &u)
 solve $\partial_t u = L(u)$ where $L$ is the internal operator. More...
 
void description (std::ostream &out) const
 print description of ODE solver to out stream More...
 

Protected Member Functions

virtual std::string name () const
 return name of ode solver More...
 
const OperatorTypespaceOperator () const
 for initialization More...
 
PARDG::ODESolver * createOdeSolver ()
 create implicit ode solver More...
 
virtual int numberOfIterations ()
 
virtual double timeStepEstimate (double cfl)
 
const ODEParametersparameter () const
 return reference to parameter class More...
 
void initializeOdeSolver ()
 
PARDG::ODESolver & odeSolver ()
 return reference to ode solver More...
 

Protected Attributes

OperatorWrapper< OperatorTypeexpl_
 
LimiterWrapper< OperatorTypelimiter_
 
OperatorWrapper< OperatorTypeimpl_
 
PARDG::IterativeLinearSolver * linsolver_
 
const ODEParametersparam_
 
const int verbose_
 
double cfl_
 
const double cflMax_
 
TimeProviderBasetimeProvider_
 
PARDG::Communicator & comm_
 
const int order_
 
bool initialized_
 

Member Typedef Documentation

template<class DestinationImp >
typedef BaseType :: DestinationType DuneODE::SemiImplicitOdeSolver< DestinationImp >::DestinationType
template<class DestinationImp >
typedef BaseType :: MonitorType DuneODE::ImplicitOdeSolver< DestinationImp >::MonitorType
inherited
template<class DestinationImp >
typedef BaseType :: OperatorType DuneODE::SemiImplicitOdeSolver< DestinationImp >::OperatorType

Constructor & Destructor Documentation

template<class DestinationImp >
DuneODE::SemiImplicitOdeSolver< DestinationImp >::SemiImplicitOdeSolver ( OperatorType explOp,
OperatorType implOp,
TimeProviderBase tp,
const int  order,
const ODEParameters parameter = ODEParameters() 
)
inline

Member Function Documentation

template<class DestinationImp >
PARDG::ODESolver* DuneODE::SemiImplicitOdeSolver< DestinationImp >::createOdeSolver ( )
inlineprotectedvirtual
template<class DestinationImp >
void DuneODE::ParDGOdeSolverBase< DestinationImp >::description ( std::ostream &  ) const
inlinevirtualinherited

print description of ODE solver to out stream

Implements DuneODE::OdeSolverInterface< DestinationImp >.

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

initialize solver

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

Reimplemented from DuneODE::ParDGOdeSolverBase< DestinationImp >.

References Dune::Std::max().

template<class DestinationImp >
void DuneODE::ParDGOdeSolverBase< DestinationImp >::initializeOdeSolver ( )
inlineprotectedinherited
template<class DestinationImp >
virtual std::string DuneODE::SemiImplicitOdeSolver< DestinationImp >::name ( ) const
inlineprotectedvirtual

return name of ode solver

Reimplemented from DuneODE::ImplicitOdeSolver< DestinationImp >.

template<class DestinationImp >
virtual int DuneODE::SemiImplicitOdeSolver< DestinationImp >::numberOfIterations ( )
inlineprotectedvirtual
template<class DestinationImp >
PARDG::ODESolver& DuneODE::ParDGOdeSolverBase< DestinationImp >::odeSolver ( )
inlineprotectedinherited

return reference to ode solver

template<class DestinationImp >
const ODEParameters& DuneODE::ImplicitOdeSolver< DestinationImp >::parameter ( ) const
inlineprotectedinherited

return reference to parameter class

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::ImplicitOdeSolver< DestinationImp >::solve ( DestinationType U0,
MonitorType monitor 
)
inlinevirtualinherited
template<class DestinationImp >
const OperatorType& DuneODE::SemiImplicitOdeSolver< DestinationImp >::spaceOperator ( ) const
inlineprotectedvirtual

for initialization

Reimplemented from DuneODE::ImplicitOdeSolver< DestinationImp >.

template<class DestinationImp >
virtual double DuneODE::SemiImplicitOdeSolver< DestinationImp >::timeStepEstimate ( double  cfl)
inlineprotectedvirtual

Member Data Documentation

template<class DestinationImp >
double DuneODE::ImplicitOdeSolver< DestinationImp >::cfl_
protectedinherited
template<class DestinationImp >
const double DuneODE::ImplicitOdeSolver< DestinationImp >::cflMax_
protectedinherited
template<class DestinationImp >
PARDG::Communicator& DuneODE::ParDGOdeSolverBase< DestinationImp >::comm_
protectedinherited
template<class DestinationImp >
OperatorWrapper<OperatorType> DuneODE::SemiImplicitOdeSolver< DestinationImp >::expl_
protected
template<class DestinationImp >
OperatorWrapper<OperatorType> DuneODE::ImplicitOdeSolver< DestinationImp >::impl_
protectedinherited
template<class DestinationImp >
bool DuneODE::ParDGOdeSolverBase< DestinationImp >::initialized_
protectedinherited
template<class DestinationImp >
LimiterWrapper<OperatorType> DuneODE::SemiImplicitOdeSolver< DestinationImp >::limiter_
protected
template<class DestinationImp >
PARDG::IterativeLinearSolver* DuneODE::ImplicitOdeSolver< DestinationImp >::linsolver_
protectedinherited
template<class DestinationImp >
const int DuneODE::ParDGOdeSolverBase< DestinationImp >::order_
protectedinherited
template<class DestinationImp >
const ODEParameters* DuneODE::ImplicitOdeSolver< DestinationImp >::param_
protectedinherited
template<class DestinationImp >
TimeProviderBase& DuneODE::ParDGOdeSolverBase< DestinationImp >::timeProvider_
protectedinherited
template<class DestinationImp >
const int DuneODE::ImplicitOdeSolver< DestinationImp >::verbose_
protectedinherited

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