dune-fem 2.12-git
Loading...
Searching...
No Matches
DuneODE::SemiImplicitRungeKuttaSolver< ExplicitOperator, HelmholtzOperator, NonlinearSolver > Class Template Referenceabstract

Implicit RungeKutta ODE solver. More...

#include <dune/fem/solver/rungekutta/semiimplicit.hh>

Inheritance diagram for DuneODE::SemiImplicitRungeKuttaSolver< ExplicitOperator, HelmholtzOperator, NonlinearSolver >:
Inheritance graph

Public Types

typedef ExplicitOperator ExplicitOperatorType
 
typedef HelmholtzOperator HelmholtzOperatorType
 
typedef BaseType::TimeStepControlType TimeStepControlType
 
typedef BaseType::SourceTermType SourceTermType
 
typedef TimeStepControlType::TimeProviderType TimeProviderType
 
typedef BaseType::ParameterType ParameterType
 
typedef BaseType::NonlinearSolverParameterType NonlinearSolverParameterType
 
typedef BaseType::MonitorType MonitorType
 
typedef BaseType::DestinationType DestinationType
 
typedef NonlinearSolver NonlinearSolverType
 

Public Member Functions

 SemiImplicitRungeKuttaSolver (ExplicitOperatorType &explicitOp, HelmholtzOperatorType &helmholtzOp, TimeProviderType &timeProvider, int order, const ParameterType &tscParams, const NonlinearSolverParameterType &nlsParams)
 constructor
 
 SemiImplicitRungeKuttaSolver (ExplicitOperatorType &explicitOp, HelmholtzOperatorType &helmholtzOp, TimeProviderType &timeProvider, int order, const Dune::Fem::ParameterReader &parameter=Dune::Fem::Parameter::container())
 
 SemiImplicitRungeKuttaSolver (ExplicitOperatorType &explicitOp, HelmholtzOperatorType &helmholtzOp, TimeProviderType &timeProvider, const ParameterType &tscParams, const NonlinearSolverParameterType &nlsParams)
 constructor
 
 SemiImplicitRungeKuttaSolver (ExplicitOperatorType &explicitOp, HelmholtzOperatorType &helmholtzOp, TimeProviderType &timeProvider, const Dune::Fem::ParameterReader &parameter=Dune::Fem::Parameter::container())
 
 SemiImplicitRungeKuttaSolver (ExplicitOperatorType &explicitOp, HelmholtzOperatorType &helmholtzOp, TimeProviderType &timeProvider, const SimpleButcherTable< double > &explButcherTable, const SimpleButcherTable< double > &implButcherTable, const Dune::Fem::ParameterReader &parameter=Dune::Fem::Parameter::container())
 
void setup (const ButcherTable &butcherTable)
 
void initialize (const DestinationType &U0)
 apply operator once to get dt estimate
 
virtual void initialize (const DestinationType &arg)=0
 initialize solver
 
void solve (DestinationType &U, MonitorType &monitor)
 solve the system
 
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 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.
 
int stages () const
 return stages of RK solver (-1 if not implemented)
 
int order () const
 return order of RK solver (-1 if not implemented)
 
void description (std::ostream &out) const
 print description of ODE solver to out stream
 

Protected Member Functions

double infNorm (const DestinationType &U, const DestinationType &Uerr) const
 

Static Protected Member Functions

static SimpleButcherTable< doubledefaultButcherTable (int order, bool expl)
 

Protected Attributes

HelmholtzOperatorTypehelmholtzOp_
 
NonlinearSolverType nonlinearSolver_
 
ImplicitRungeKuttaTimeStepControl timeStepControl_
 
SemiImplicitRungeKuttaSourceTerm< ExplicitOperatorsourceTerm_
 
int stages_
 
int ord_
 
double delta_
 
Dune::DynamicMatrix< doublealpha_
 
Dune::DynamicVector< doublegamma_
 
Dune::DynamicVector< doublebeta_
 
Dune::DynamicVector< doublec_
 
DestinationType rhs_
 
std::vector< std::unique_ptr< DestinationType > > updateStorage_
 
std::vector< DestinationType * > update_
 

Detailed Description

template<class ExplicitOperator, class HelmholtzOperator, class NonlinearSolver>
class DuneODE::SemiImplicitRungeKuttaSolver< ExplicitOperator, HelmholtzOperator, NonlinearSolver >

Implicit RungeKutta ODE solver.

Member Typedef Documentation

◆ DestinationType

◆ ExplicitOperatorType

◆ HelmholtzOperatorType

◆ MonitorType

◆ NonlinearSolverParameterType

◆ NonlinearSolverType

◆ ParameterType

◆ SourceTermType

◆ TimeProviderType

◆ TimeStepControlType

Constructor & Destructor Documentation

◆ SemiImplicitRungeKuttaSolver() [1/5]

constructor

Parameters
[in]explicitOpexplicit operator
[in]helmholtzOpHelmholtz operator \(L\)
[in]timeProvidertime provider
[in]orderorder of butcher table to use
[in]tscParamparameters for implicit time step control
[in]nlsParamparameters for non linear solver control

◆ SemiImplicitRungeKuttaSolver() [2/5]

◆ SemiImplicitRungeKuttaSolver() [3/5]

constructor

Parameters
[in]explicitOpexplicit operator
[in]helmholtzOpHelmholtz operator \(L\)
[in]timeProvidertime provider
[in]tscParamparameters for implicit time step control
[in]nlsParamparameters for non linear solver control

◆ SemiImplicitRungeKuttaSolver() [4/5]

◆ SemiImplicitRungeKuttaSolver() [5/5]

Member Function Documentation

◆ defaultButcherTable()

◆ description()

◆ infNorm()

◆ initialize() [1/2]

virtual void DuneODE::OdeSolverInterface< HelmholtzOperator::DomainFunctionType >::initialize ( const DestinationType arg)
pure virtualinherited

initialize solver

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

◆ initialize() [2/2]

◆ order()

◆ setup()

◆ solve() [1/5]

virtual void DuneODE::OdeSolverInterface< HelmholtzOperator::DomainFunctionType >::solve ( DestinationType u)
inlinevirtualinherited

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

Parameters
[in]uunknown to solve for

◆ solve() [2/5]

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

Parameters
[in]uunknown to solve for

◆ solve() [3/5]

◆ solve() [4/5]

virtual void DuneODE::OdeSolverInterface< HelmholtzOperator::DomainFunctionType >::solve ( DestinationType u,
MonitorType monitor 
)
pure virtualinherited

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

◆ solve() [5/5]

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

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

◆ stages()

Member Data Documentation

◆ alpha_

◆ beta_

◆ c_

◆ delta_

◆ gamma_

◆ helmholtzOp_

◆ nonlinearSolver_

◆ ord_

◆ rhs_

◆ sourceTerm_

◆ stages_

◆ timeStepControl_

◆ update_

◆ updateStorage_


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