DP Langevin
Loading...
Searching...
No Matches
sim_dplangevin_utilities.cpp
Go to the documentation of this file.
1
5
6#include "sim_dplangevin.hpp"
7
8int SimDP::get_n_epochs() const { return n_epochs; }
12double SimDP::get_t_next_epoch() const { return t_next_epoch; }
16
int get_i_current_epoch() const
Fetch the index of the current epoch of the simulation.
int i_current_epoch
Index of current epoch aka time step.
int i_next_epoch
Index of next epoch aka time step.
py_array_t get_density() const
Fetch the current Langevin density field grid as a Python array.
py_array_t pyarray_t_epochs
Python-compatible array of epochs time-series.
double t_next_epoch
Time of next epoch.
py_array_t get_t_epochs() const
Fetch a times-series vector of the simulation epochs as a Python array.
double get_t_next_epoch() const
Fetch the next epoch (time) of the simulation.
int n_epochs
Total number of simulation time steps aka "epochs".
py_array_t pyarray_density
Python-compatible array of current density grid.
py_array_t pyarray_mean_densities
Python-compatible array of mean density time-series.
double get_t_current_epoch() const
Fetch the current epoch (time) of the simulation.
py_array_t get_mean_densities() const
Fetch a times-series vector of the grid-averaged density field over time as a Python array.
int get_n_epochs() const
Fetch the total number of simulation epochs.
int get_i_next_epoch() const
Fetch the index of the next epoch of the simulation.
double t_current_epoch
Time of current epoch.
py::array_t< double, py::array::c_style > py_array_t
Type for Python arrays of doubles.
Class that manages simulation of DPLangevin equation.