Commit a3aa4cc3 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Runge-Kutta: allow to advance time of integration by fixed step

parent 472cef74
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -91,6 +91,11 @@ namespace allpix {
         * @return Current time
         */
        T getTime() const { return t_; }
        /**
         * @brief Advance the time of the integration
         * @param t Time step to advance the integration by
         */
        void advanceTime(double t) { t_ += t; }

        /**
         * @brief Execute a single time step of the integration