Scine::Kinetx  3.0.0
Kinetic models for reaction networks.
 All Classes Files Functions Variables Enumerations Pages
ImplicitEuler.h
Go to the documentation of this file.
1 
7 #ifndef KINETX_IMPLICITEULER_H_
8 #define KINETX_IMPLICITEULER_H_
9 
11 
12 namespace Scine {
13 namespace Kinetx {
19 class ImplicitEuler : public RungeKutta {
20  public:
25  ImplicitEuler(Network& net);
26 
30  void propagateY(Eigen::VectorXd& y, double& t, double& dt) const override final;
31 };
32 
33 } /* namespace Kinetx */
34 } /* namespace Scine */
35 
36 #endif // KINETX_IMPLICITEULER_H_
Base class for all Runge-Kutta methods/implementations.
Definition: RungeKutta.h:18
Implicit Euler-type integration algorithm (y_k+1 = dt f(t_k+1, y_k+1)), where f(t_k+1, y_k+1) is the reaction rate and k the integration step. Requires the Jacobian of the reaction system.
Definition: ImplicitEuler.h:19
Definition: Network.h:17
ImplicitEuler(Network &net)
Constructor.
Definition: ImplicitEuler.cpp:15
void propagateY(Eigen::VectorXd &y, double &t, double &dt) const overridefinal
Propagate the concentration.
Definition: ImplicitEuler.cpp:18