cpp/motions/isosmallangle.h

26 lines
561 B
C
Raw Permalink Normal View History

2024-08-23 16:33:38 +00:00
//
// Created by dominik on 8/21/24.
//
#ifndef RWSIM_MOTIONISOSMALLANGLE_H
#define RWSIM_MOTIONISOSMALLANGLE_H
#include "base.h"
#include "coordinates.h"
class SmallAngle final : public Motion {
public:
SmallAngle(double, double, double, std::mt19937_64& );
explicit SmallAngle(std::mt19937_64&);
void initialize() override;
double jump() override;
2024-11-10 14:52:54 +00:00
void setParameters(const std::unordered_map<std::string, double> &) override;
2024-08-23 16:33:38 +00:00
private:
double m_chi{0};
SphericalPos m_prev_pos{0., 0.};
};
#endif //RWSIM_MOTIONISOSMALLANGLE_H