Langevin C++ source

Loading...
Searching...
No Matches
langevin_utilities.cpp
Go to the documentation of this file.
1
5
6#include "langevin_types.hpp"
7#include "langevin_base.hpp"
8
10 double BaseLangevin::get_density_grid_value(const int i) const
11{
12 return density_grid[i];
13}
14
16 double BaseLangevin::get_mean_density() const
17{
18 return mean_density;
19}
20
23 double BaseLangevin::get_poisson_mean() const
24{
25 return lambda_on_explcdt * mean_density;
26}
BaseLangevin::density_grid
grid_t density_grid
Density field grid.
Definition langevin_base.hpp:21
BaseLangevin::lambda_on_explcdt
double lambda_on_explcdt
Dornic method stochastic-step variable.
Definition langevin_base.hpp:46
BaseLangevin::get_poisson_mean
double get_poisson_mean() const
Compute Poisson RNG mean.
Definition langevin_utilities.cpp:23
BaseLangevin::get_mean_density
double get_mean_density() const
Expose mean density.
Definition langevin_utilities.cpp:16
BaseLangevin::mean_density
double mean_density
Grid-average of density field.
Definition langevin_base.hpp:30
BaseLangevin::get_density_grid_value
double get_density_grid_value(const int) const
Return the Langevin density field grid value at a given "node".
Definition langevin_utilities.cpp:10
langevin_base.hpp
Base class for Langevin equation integrator.
langevin_types.hpp
Type definitions for BaseLangevin integrator.