![]() |
Octopus
|
Class describing a Wigner distribution for sampling initial conditions in multi-trajectory Ehrenfest runs. More...
Class describing a Wigner distribution for sampling initial conditions in multi-trajectory Ehrenfest runs.
Definition at line 124 of file wigner_distribution.F90.
Private Member Functions | |
| procedure | init => wigner_distribution_init |
| Initialize the Wigner distribution. More... | |
| procedure | end => wigner_distribution_end |
| Deallocate internal memory. More... | |
| procedure | get => wigner_distribution_get |
| Get random numbers with given standard deviation and mean per mode. More... | |
Private Attributes | |
| integer | num_modes |
| Number of modes. More... | |
| real(real64), dimension(:, :), allocatable | random_numbers |
| Two sets of normal-distributed random numbers (1:num_modes, 1:2) More... | |
|
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 133 of file wigner_distribution.F90.
|
private |
Deallocate internal memory.
Definition at line 134 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 135 of file wigner_distribution.F90.
|
private |
Number of modes.
Definition at line 128 of file wigner_distribution.F90.
|
private |
Two sets of normal-distributed random numbers (1:num_modes, 1:2)
Definition at line 129 of file wigner_distribution.F90.