|
BraWl
|
Function for getting a random neighbour of a lattice site. More...
Public Member Functions | |
| real(real64) function | neighbour (setup, config, site_b, site_i, site_j, site_k) |
Function for getting a random neighbour of a lattice site.
| setup | Derived type specifying the simulation |
| config | The configuration for which to evaluate the energy |
| site_b | Site basis index |
| site_1 | Site index 1 |
| site_2 | Site index 2 |
| site_3 | Site index 3 |
Definition at line 387 of file derived_types.f90.
| real(real64) function derived_types::neighbour::neighbour | ( | class(run_params), intent(in) | setup, |
| integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
| integer, intent(in) | site_b, | ||
| integer, intent(in) | site_i, | ||
| integer, intent(in) | site_j, | ||
| integer, intent(in) | site_k ) |
Definition at line 387 of file derived_types.f90.