DP Langevin
Loading...
Searching...
No Matches
langevin_coefficients.hpp
Go to the documentation of this file.
1
5
6#ifndef COEFFICIENTS_HPP
7#define COEFFICIENTS_HPP
8
23struct Coefficients
24{
25public:
26 double linear;
27 double quadratic;
28 double diffusion;
29 double noise;
30
31 Coefficients(
32 double linear, double quadratic, double diffusion, double noise
33 ) : linear(linear), quadratic(quadratic), diffusion(diffusion), noise(noise) {}
34
35 void print() {
36 std::cout << "linear: " << linear << std::endl;
37 std::cout << "quadratic: " << quadratic << std::endl;
38 std::cout << "diffusion: " << diffusion << std::endl;
39 std::cout << "noise: " << noise << std::endl;
40 }
41};
42
43#endif