BraWl
|
Functions/Subroutines | |
pure integer function, dimension(4), public | simple_cubic_random_site (setup) |
Function to get a random site on the simple cubic lattice. | |
pure integer function, dimension(4), public | simple_cubic_random_nbr (setup, site) |
Function to get a random neighbour of a site on the simple cubic lattice. | |
pure integer function, dimension(4), public | bcc_random_site (setup) |
Function to get a random site on the bcc lattice. | |
pure integer function, dimension(4), public | bcc_random_nbr (setup, site) |
Function to get a random neighbour of a site on the bcc lattice. | |
pure integer function, dimension(4), public | fcc_random_site (setup) |
Function to get a random site on the fcc lattice. | |
pure integer function, dimension(4), public | fcc_random_nbr (setup, site) |
Function to get a random neighbour of a site on the fcc lattice. | |
subroutine, public | pair_swap (config, idx1, idx2) |
Function to swap a pair of lattice site occupancies. | |
Variables | |
integer, dimension(3, 6), parameter | sc_nbrs = reshape((/ 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, -1, 0, -1, 0, -1, 0, 0 /), (/3, 6/)) |
integer, dimension(3, 8), parameter | bcc_nbrs = reshape((/ 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1 /), (/3, 8/)) |
integer, dimension(3, 12), parameter | fcc_nbrs = reshape((/ 0, 1, 1, 0, 1, -1, 0, -1, 1, 0, -1, -1, 1, 1, 0, 1, -1, 0, 1, 0, 1, 1, 0, -1, -1, 1, 0, -1, -1, 0, -1, 0, 1, -1, 0, -1 /), (/3, 12/)) |
pure integer function, dimension(4), public random_site::bcc_random_nbr | ( | class(run_params), intent(in) | setup, |
integer, dimension(4), intent(in) | site ) |
Function to get a random neighbour of a site on the bcc lattice.
setup | Derived type containing simulation parameters |
site | Site for which to get the neighbour |
Definition at line 152 of file random_site.f90.
pure integer function, dimension(4), public random_site::bcc_random_site | ( | class(run_params), intent(in) | setup | ) |
Function to get a random site on the bcc lattice.
setup | Derived type containing simulation parameters |
Definition at line 127 of file random_site.f90.
pure integer function, dimension(4), public random_site::fcc_random_nbr | ( | class(run_params), intent(in) | setup, |
integer, dimension(4), intent(in) | site ) |
Function to get a random neighbour of a site on the fcc lattice.
setup | Derived type containing simulation parameters |
site | Site for which to get the neighbour |
Definition at line 206 of file random_site.f90.
pure integer function, dimension(4), public random_site::fcc_random_site | ( | class(run_params), intent(in) | setup | ) |
Function to get a random site on the fcc lattice.
setup | Derived type containing simulation parameters |
Definition at line 182 of file random_site.f90.
subroutine, public random_site::pair_swap | ( | integer(array_int), dimension(:,:,:,:) | config, |
integer, dimension(4), intent(in) | idx1, | ||
integer, dimension(4), intent(in) | idx2 ) |
Function to swap a pair of lattice site occupancies.
config | System configuration |
idx1 | Indices of first lattice site |
idx2 | Indices of second lattice site |
Definition at line 238 of file random_site.f90.
pure integer function, dimension(4), public random_site::simple_cubic_random_nbr | ( | class(run_params), intent(in) | setup, |
integer, dimension(4), intent(in) | site ) |
Function to get a random neighbour of a site on the simple cubic lattice.
setup | Derived type containing simulation parameters |
site | Site for which to get the neighbour |
Definition at line 97 of file random_site.f90.
pure integer function, dimension(4), public random_site::simple_cubic_random_site | ( | class(run_params), intent(in) | setup | ) |
Function to get a random site on the simple cubic lattice.
setup | Derived type containing simulation parameters |
Definition at line 74 of file random_site.f90.
|
private |
Definition at line 38 of file random_site.f90.
|
private |
Definition at line 49 of file random_site.f90.
|
private |
Definition at line 29 of file random_site.f90.