dune-fem 2.8.0
|
ROW RungeKutta ODE solver. More...
#include <dune/fem/solver/rungekutta/basicrow.hh>
Public Types | |
typedef BaseType::MonitorType | MonitorType |
typedef BaseType::DestinationType | DestinationType |
typedef HelmholtzOperator | HelmholtzOperatorType |
typedef NonlinearSolver | NonlinearSolverType |
typedef TimeStepControl | TimeStepControlType |
typedef SourceTerm | SourceTermType |
typedef NonlinearSolver::ParameterType | NonlinearSolverParameterType |
typedef NonlinearSolverType::LinearInverseOperatorType | LinearInverseOperatorType |
typedef HelmholtzOperator::SpaceOperatorType::PreconditionOperatorType | PreconditionOperatorType |
typedef Dune::Fem::TimeProviderBase | TimeProviderType |
Public Member Functions | |
template<class ButcherTable > | |
BasicROWRungeKuttaSolver (HelmholtzOperatorType &helmholtzOp, TimeProviderType &timeProvider, const ButcherTable &butcherTable, const TimeStepControlType &timeStepControl, const SourceTermType &sourceTerm, const NonlinearSolverParameterType ¶meter) | |
constructor | |
template<class ButcherTable > | |
BasicROWRungeKuttaSolver (HelmholtzOperatorType &helmholtzOp, TimeProviderType &timeProvider, const ButcherTable &butcherTable, const TimeStepControlType &timeStepControl, const SourceTermType &sourceTerm, const Dune::Fem::ParameterReader ¶meter=Dune::Fem::Parameter::container()) | |
template<class ButcherTable > | |
BasicROWRungeKuttaSolver (HelmholtzOperatorType &helmholtzOp, TimeProviderType &timeProvider, const ButcherTable &butcherTable, const TimeStepControlType &timeStepControl, const NonlinearSolverParameterType ¶meter) | |
constructor | |
template<class ButcherTable > | |
BasicROWRungeKuttaSolver (HelmholtzOperatorType &helmholtzOp, TimeProviderType &timeProvider, const ButcherTable &butcherTable, const TimeStepControlType &timeStepControl, const Dune::Fem::ParameterReader ¶meter=Dune::Fem::Parameter::container()) | |
template<class ButcherTable > | |
BasicROWRungeKuttaSolver (HelmholtzOperatorType &helmholtzOp, TimeProviderType &timeProvider, const ButcherTable &butcherTable, const NonlinearSolverParameterType ¶meter) | |
constructor | |
template<class ButcherTable > | |
BasicROWRungeKuttaSolver (HelmholtzOperatorType &helmholtzOp, TimeProviderType &timeProvider, const ButcherTable &butcherTable, const Dune::Fem::ParameterReader ¶meter=Dune::Fem::Parameter::container()) | |
template<class ButcherTable > | |
void | setup (const ButcherTable &butcherTable) |
~BasicROWRungeKuttaSolver () | |
destructor | |
void | initialize (const DestinationType &U0) |
apply operator once to get dt estimate | |
void | solve (DestinationType &U, MonitorType &monitor) |
solve the system | |
int | stages () const |
void | description (std::ostream &out) const |
print description of ODE solver to out stream | |
virtual void | solve (DestinationType &u) |
solve ![]() ![]() | |
virtual void | solve (DestinationType &u, MonitorType &monitor)=0 |
solve ![]() ![]() | |
virtual void | initialize (const DestinationType &arg)=0 |
initialize solver | |
virtual void | solve (DestinationType &u) |
solve ![]() ![]() | |
virtual void | solve (DestinationType &u, MonitorType &monitor)=0 |
solve ![]() ![]() | |
Protected Member Functions | |
double | infNorm (const DestinationType &U, const DestinationType &Uerr) const |
Protected Attributes | |
HelmholtzOperatorType & | helmholtzOp_ |
LinearInverseOperatorType | linearSolver_ |
TimeStepControl | timeStepControl_ |
SourceTerm | sourceTerm_ |
int | stages_ |
double | delta_ |
Dune::DynamicMatrix< double > | alpha_ |
Dune::DynamicMatrix< double > | alpha2_ |
Dune::DynamicVector< double > | gamma_ |
Dune::DynamicVector< double > | beta_ |
Dune::DynamicVector< double > | c_ |
DestinationType | rhs_ |
DestinationType | temp_ |
std::vector< DestinationType * > | update_ |
const int | maxLinearIterations_ |
const PreconditionOperatorType * | preconditioner_ |
ROW RungeKutta ODE solver.
typedef BaseType::DestinationType DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >::DestinationType |
typedef HelmholtzOperator DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >::HelmholtzOperatorType |
typedef NonlinearSolverType::LinearInverseOperatorType DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >::LinearInverseOperatorType |
typedef BaseType::MonitorType DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >::MonitorType |
typedef NonlinearSolver::ParameterType DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >::NonlinearSolverParameterType |
typedef NonlinearSolver DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >::NonlinearSolverType |
typedef HelmholtzOperator::SpaceOperatorType::PreconditionOperatorType DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >::PreconditionOperatorType |
typedef SourceTerm DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >::SourceTermType |
typedef Dune::Fem::TimeProviderBase DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >::TimeProviderType |
typedef TimeStepControl DuneODE::BasicROWRungeKuttaSolver< HelmholtzOperator, NonlinearSolver, TimeStepControl, SourceTerm >::TimeStepControlType |
|
inline |
constructor
[in] | helmholtzOp | Helmholtz operator ![]() |
[in] | butcherTable | butcher table to use |
[in] | timeStepControl | time step controller |
[in] | sourceTerm | additional source term |
|
inline |
|
inline |
constructor
[in] | helmholtzOp | Helmholtz operator ![]() |
[in] | butcherTable | butcher table to use |
[in] | timeStepControl | time step controller |
|
inline |
|
inline |
constructor
[in] | helmholtzOp | Helmholtz operator ![]() |
[in] | butcherTable | butcher table to use |
|
inline |
|
inline |
destructor
|
inlinevirtual |
print description of ODE solver to out stream
Implements DuneODE::OdeSolverInterface< HelmholtzOperator::DomainFunctionType >.
|
inlineprotected |
|
pure virtualinherited |
initialize solver
[in] | arg | argument to apply internal operator once for intial time step estimate |
|
inline |
apply operator once to get dt estimate
|
inline |
|
inlinevirtualinherited |
solve
[in] | u | unknown to solve for |
|
inline |
solve
[in] | u | unknown to solve for |
|
inline |
solve the system
|
pure virtualinherited |
solve
[in] | u | unknown to solve for |
[in] | monitor | Monitor to get some inside information |
virtual void DuneODE::OdeSolverInterface< DestinationImp >::solve | ( | DestinationType & | u, |
MonitorType & | monitor | ||
) |
solve
[in] | u | unknown to solve for |
[in] | monitor | Monitor to get some inside information |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |