Langevin C++ source

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
23 struct Coefficients
24{
25 public:
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 << std::endl;
37 std::cout << "linear: " << linear << std::endl;
38 std::cout << "quadratic: " << quadratic << std::endl;
39 std::cout << "diffusion: " << diffusion << std::endl;
40 std::cout << "noise: " << noise << std::endl;
41 }
42};
43
44#endif