//
// Created by jholder on 16.12.21.
//

#ifndef MYPROJECT_KONVERGENZ_RUNNER_H
#define MYPROJECT_KONVERGENZ_RUNNER_H
#include "Integratoren/Integratoren2d.h"
#include "tools/Compute.h"
class Konvergenz {
   public:
    static void runner(Compute::Force force,Compute::Type type,
                       const Integratoren2d::integrator_t& integrator,
                       std::string filename);
    static void konvergenz(Compute::Force force,Compute::Type type,
                           const Integratoren2d::integrator_t& integrator,
                           size_t every, std::ofstream& file);
};

class Normal {
   public:
    static void runner(Compute::Force force,
                       const Integratoren2d::integrator_t& integrator,
                       const std::string& filename, double length);
    static void time(Compute::Force force,
                     const Integratoren2d::integrator_t& integrator,
                     std::array<std::ofstream,6>& files, double length);
};
#endif  // MYPROJECT_KONVERGENZ_RUNNER_H
