2024-08-16 17:55:27 +00:00
|
|
|
//
|
|
|
|
// Created by dominik on 8/12/24.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "random.h"
|
|
|
|
|
|
|
|
|
|
|
|
RandomJump::RandomJump(const double delta, const double eta, std::mt19937_64 &rng) : Motion(delta, eta, rng) {}
|
|
|
|
|
|
|
|
RandomJump::RandomJump(std::mt19937_64 &rng) : Motion(rng) {}
|
|
|
|
|
2024-08-18 11:21:27 +00:00
|
|
|
void RandomJump::initialize() {}
|
|
|
|
|
2024-08-16 17:55:27 +00:00
|
|
|
double RandomJump::jump() {
|
2024-08-18 11:21:27 +00:00
|
|
|
const auto [cos_theta, phi] = draw_position();
|
|
|
|
return omega_q(cos_theta, phi);
|
2024-08-16 17:55:27 +00:00
|
|
|
}
|