Commit cd91901e authored by Niklas Schnierstein's avatar Niklas Schnierstein Committed by Cristian Lalescu
Browse files

added some logic for convergence of ou process

parent ab0c50ac
......@@ -188,10 +188,13 @@ void ornstein_uhlenbeck_process<rnumber,be>::initialize_B()
template <class rnumber, field_backend be>
void ornstein_uhlenbeck_process<rnumber, be>::let_converge(void)
//add some logic here TODO
for(int i=0; i<1000; i++)
double ou_kmin = sqrt(this->ou_kmin_squ);
double tau = 1.0/this->gamma(ou_kmin);
double dt = tau/1000.;
for(int i=0; i<2000; i++)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment