28 lines
1002 B
C++
28 lines
1002 B
C++
#ifndef RWSIM_SIMS_H
|
|
#define RWSIM_SIMS_H
|
|
|
|
#include "motions/base.h"
|
|
#include "times/base.h"
|
|
|
|
#include <unordered_map>
|
|
#include <string>
|
|
#include <chrono>
|
|
#include <vector>
|
|
|
|
struct Trajectory {
|
|
std::vector<double> time;
|
|
std::vector<double> phase;
|
|
std::vector<double> omega;
|
|
};
|
|
|
|
void run_spectrum(std::unordered_map<std::string, double>& parameter, std::unordered_map<std::string, double> optional, motions::BaseMotion& motion, times::BaseDistribution& dist, std::mt19937_64& rng);
|
|
|
|
void run_ste(std::unordered_map<std::string, double>& parameter, std::unordered_map<std::string, double> optional, motions::BaseMotion& motion, times::BaseDistribution& dist, std::mt19937_64& rng);
|
|
|
|
Trajectory make_trajectory(motions::BaseMotion& motion, times::BaseDistribution& dist, double t_max, std::mt19937_64& rng);
|
|
|
|
std::chrono::system_clock::time_point printStart(std::unordered_map<std::string, double> &optional);
|
|
void printEnd(std::chrono::system_clock::time_point start);
|
|
|
|
#endif //RWSIM_SIMS_H
|