Langevin C++ source

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