|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
explicit.hh
Go to the documentation of this file.
168 DUNE_THROW(InvalidStateException,"ExplicitRungeKuttaSolver wasn't initialized before first call!");
#define DUNE_THROW(E,...)
void assign(T &dst, const T &src, bool mask)
STL namespace.
void axpy(const T &a, const T &x, T &y)
Definition space/basisfunctionset/functor.hh:38
Definition multistep.hh:17
SimpleButcherTable< double > expl6ButcherTable()
Definition butchertable.cc:76
SimpleButcherTable< double > explicitEulerButcherTable()
Definition butchertable.cc:16
SimpleButcherTable< double > tvd3ButcherTable()
Definition butchertable.cc:43
SimpleButcherTable< double > tvd2ButcherTable()
Definition butchertable.cc:29
static ParameterContainer & container()
Definition io/parameter.hh:199
interface for time evolution operators
Definition spaceoperatorif.hh:38
virtual void setTime(const double time)
set time for operators
Definition spaceoperatorif.hh:76
virtual const DiscreteFunctionSpaceType & space() const =0
return reference to space (needed by ode solvers)
virtual double timeStepEstimate() const
estimate maximum time step
Definition spaceoperatorif.hh:86
Definition odesolverinterface.hh:27
Definition butchertable.hh:17
int order() const
return order of RK solver
Definition explicit.hh:221
OdeSolverInterface< DestinationImp >::MonitorType MonitorType
Definition explicit.hh:71
SimpleButcherTable< double > defaultButcherTables(const int order) const
Definition explicit.hh:75
DestinationType::DiscreteFunctionSpaceType SpaceType
Definition explicit.hh:69
ExplicitRungeKuttaSolver(OperatorType &op, TimeProviderBase &tp, const int pord, bool verbose)
constructor
Definition explicit.hh:130
DestinationImp DestinationType
Definition explicit.hh:67
void description(std::ostream &out) const
print description of ODE solver to out stream
Definition explicit.hh:210
std::vector< std::unique_ptr< DestinationType > > Upd
Definition explicit.hh:230
ExplicitRungeKuttaSolver(OperatorType &op, TimeProviderBase &tp, const SimpleButcherTable< double > &butcherTable, bool verbose)
constructor
Definition explicit.hh:99
int stages() const
return stages of RK solver
Definition explicit.hh:218
SpaceOperatorInterface< DestinationImp > OperatorType
Definition explicit.hh:68
void solve(DestinationType &U0, MonitorType &monitor)
solve the system
Definition explicit.hh:160
ExplicitRungeKuttaSolver(OperatorType &op, TimeProviderBase &tp, const int pord, const Dune::Fem::ParameterReader ¶meter=Dune::Fem::Parameter::container())
Definition explicit.hh:138
void initialize(const DestinationType &U0)
apply operator once to get dt estimate
Definition explicit.hh:146
double time() const
obtain the current time
Definition timeprovider.hh:94
void provideTimeStepEstimate(const double dtEstimate)
set time step estimate to minimum of given value and internal time step estiamte
Definition timeprovider.hh:142
double deltaT() const
obtain the size of the current time step
Definition timeprovider.hh:113
T emplace_back(T... args)
T endl(T... args)
T forward(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8