![]() |
Octopus
|
Data Types | |
| type | wigner_distribution_t |
| Class describing a Wigner distribution for sampling initial conditions in multi-trajectory Ehrenfest runs. More... | |
Functions/Subroutines | |
| subroutine | wigner_distribution_init (this, num_modes, seed) |
| Initialize the Wigner distribution. More... | |
| subroutine | wigner_distribution_end (this) |
| Deallocate internal memory. More... | |
| real(real64) function, dimension(1:this%num_modes) | wigner_distribution_get (this, sigma, mu, set) |
| Get random numbers with given standard deviation and mean per mode. More... | |
Variables | |
| integer, parameter, public | wigner_q = 1 |
| integer, parameter, public | wigner_p = 2 |
|
private |
Initialize the Wigner distribution.
This initializer invokes the random number generator and creates two sets of normal-distributed random numbers.
| [in,out] | this | The Wigner function object |
| [in] | num_modes | Number of boson modes |
| [in] | seed | Initial seed for the random number generator |
Definition at line 146 of file wigner_distribution.F90.
|
private |
Deallocate internal memory.
Definition at line 167 of file wigner_distribution.F90.
|
private |
Get random numbers with given standard deviation and mean per mode.
The variable set controls whether to get the displacements for the canonical position or momentum. Possible values are
| [in] | sigma | standard deviations per mode |
| [in] | mu | mean value per mode |
| [in] | set | choose the set of raw random numbers |
Definition at line 182 of file wigner_distribution.F90.
| integer, parameter, public wigner_distribution_oct_m::wigner_q = 1 |
Definition at line 118 of file wigner_distribution.F90.
| integer, parameter, public wigner_distribution_oct_m::wigner_p = 2 |
Definition at line 118 of file wigner_distribution.F90.