From a54e4ac00215038e4d85ce82943a8cc5a894e182 Mon Sep 17 00:00:00 2001 From: Niklas Schnierstein <schni@draco01.mpcdf.mpg.de> Date: Wed, 8 Jan 2020 13:56:28 +0100 Subject: [PATCH] added ou correlation time k scaling --- cpp/full_code/ornstein_uhlenbeck_process.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cpp/full_code/ornstein_uhlenbeck_process.hpp b/cpp/full_code/ornstein_uhlenbeck_process.hpp index a1aeaa98..f4e1e191 100644 --- a/cpp/full_code/ornstein_uhlenbeck_process.hpp +++ b/cpp/full_code/ornstein_uhlenbeck_process.hpp @@ -52,8 +52,10 @@ class ornstein_uhlenbeck_process{ inline double gamma(double kabs) { - return this->kolmogorov_constant*sqrt(this->kolmogorov_constant/ - this->ou_energy_amplitude); + //return this->kolmogorov_constant*sqrt(this->kolmogorov_constant/ + // this->ou_energy_amplitude); + return 10.*pow(kabs,2./3.)*this->kolmogorov_constant*sqrt(this->kolmogorov_constant/ + this->ou_energy_amplitude); //TODO take out 10 } -- GitLab