Langevin C++ source

Loading...
Searching...
No Matches
langevin_types.hpp File Reference

Type definitions for BaseLangevin integrator. More...

`#include <iostream>`
`#include <vector>`
`#include <random>`
`#include <pybind11/numpy.h>`
`#include <valarray>`
`#include "langevin_enums.hpp"`

Go to the source code of this file.

## Typedefs
typedef std::mt19937 | rng_t
| Use Mersenne Twister random number generator.
typedef std::vector< double > | dbl_vec_t
| Type for vectors of doubles.
typedef std::vector< int > | int_vec_t
| Type for vectors of integers.
typedef std::vector< double > | grid_t
| Type for density grid.
typedef std::vector< int > | neighborhood_t
| Type for density grid wiring.
typedef std::vector< neighborhood_t > | grid_wiring_t
| Type for grid-cell neighborhood connections.
typedef std::poisson_distribution< int > | poisson_dist_t
| Type for function generating Poisson variates.
typedef std::gamma_distribution< double > | gamma_dist_t
| Type for function generating gamma variates.
typedef std::normal_distribution< double > | gaussian_dist_t
| Type for function generating Gaussian variates.
typedef std::uniform_real_distribution< double > | uniform_dist_t
| Type for function generating uniformly distributed variates.
typedef std::vector< GridTopology > | gt_vec_t
| Type for specifying grid topology in each direction x, y, z...
typedef std::vector< BoundaryCondition > | bc_vec_t
typedef py::array_t< double, py::array::c_style > | py_array_t
| Type for Python arrays of doubles.

## Detailed Description

Type definitions for BaseLangevin integrator.

Definition in file langevin_types.hpp.

## Typedef Documentation

## ◆ bc_vec_t

typedef std::vector<BoundaryCondition> bc_vec_t

Definition at line 46 of file langevin_types.hpp.

## ◆ dbl_vec_t

typedef std::vector<double> dbl_vec_t

Type for vectors of doubles.

Definition at line 19 of file langevin_types.hpp.

## ◆ gamma_dist_t

typedef std::gamma_distribution<double> gamma_dist_t

Type for function generating gamma variates.

Definition at line 37 of file langevin_types.hpp.

## ◆ gaussian_dist_t

typedef std::normal_distribution<double> gaussian_dist_t

Type for function generating Gaussian variates.

Definition at line 39 of file langevin_types.hpp.

## ◆ grid_t

typedef std::vector<double> grid_t

Type for density grid.

Definition at line 24 of file langevin_types.hpp.

## ◆ grid_wiring_t

typedef std::vector< neighborhood_t > grid_wiring_t

Type for grid-cell neighborhood connections.

Definition at line 30 of file langevin_types.hpp.

## ◆ gt_vec_t

typedef std::vector<GridTopology> gt_vec_t

Type for specifying grid topology in each direction x, y, z...

Definition at line 45 of file langevin_types.hpp.

## ◆ int_vec_t

typedef std::vector<int> int_vec_t

Type for vectors of integers.

Definition at line 21 of file langevin_types.hpp.

## ◆ neighborhood_t

typedef std::vector<int> neighborhood_t

Type for density grid wiring.

Definition at line 28 of file langevin_types.hpp.

## ◆ poisson_dist_t

typedef std::poisson_distribution<int> poisson_dist_t

Type for function generating Poisson variates.

Definition at line 35 of file langevin_types.hpp.

## ◆ py_array_t

typedef py::array_t<double, py::array::c_style> py_array_t

Type for Python arrays of doubles.

Definition at line 50 of file langevin_types.hpp.

## ◆ rng_t

typedef std::mt19937 rng_t

Use Mersenne Twister random number generator.

Definition at line 16 of file langevin_types.hpp.

## ◆ uniform_dist_t

typedef std::uniform_real_distribution<double> uniform_dist_t

Type for function generating uniformly distributed variates.

Definition at line 41 of file langevin_types.hpp.