Scine::Kinetx  3.0.0
Kinetic models for reaction networks.
 All Classes Files Functions Variables Enumerations Pages
ExplicitEuler.h
Go to the documentation of this file.
1 
7 #ifndef KINETX_EXPLICITEULER_H_
8 #define KINETX_EXPLICITEULER_H_
9 
11 
12 namespace Scine {
13 namespace Kinetx {
17 class ExplicitEuler : public RungeKutta {
18  public:
23  ExplicitEuler(Network& net);
24 
28  void propagateY(Eigen::VectorXd& y, double& t, double& dt) const override final;
29 };
30 
31 } /* namespace Kinetx */
32 } /* namespace Scine */
33 
34 #endif // KINETX_EXPLICITEULER_H_
Base class for all Runge-Kutta methods/implementations.
Definition: RungeKutta.h:18
ExplicitEuler(Network &net)
Constructor.
Definition: ExplicitEuler.cpp:14
Euler-type integration (dt * dy/dt).
Definition: ExplicitEuler.h:17
Definition: Network.h:17
void propagateY(Eigen::VectorXd &y, double &t, double &dt) const overridefinal
Propagate the concentration.
Definition: ExplicitEuler.cpp:17