BraWl
Loading...
Searching...
No Matches
derived_types::rand_neighbour Interface Reference

Function for getting a random neighbour of a lattice site. More...

Public Member Functions

integer function, dimension(4) rand_neighbour (setup, site)
 

Detailed Description

Function for getting a random neighbour of a lattice site.

Author
C. D. Woodgate
Date
2020-2025
Parameters
setupDerived type specifying the simulation
siteArray of four ints specifying the site
Returns
Array of four ints specifying the neighbour site

Definition at line 433 of file derived_types.f90.

Constructor & Destructor Documentation

◆ rand_neighbour()

integer function, dimension(4) derived_types::rand_neighbour::rand_neighbour ( class(run_params), intent(in) setup,
integer, dimension(4), intent(in) site )

Definition at line 433 of file derived_types.f90.

434
435 use kinds, only : real64
436 use constants, only : array_int
437
438 import :: run_params
439
440 class(run_params), intent(in) :: setup
441 integer, dimension(4), intent(in) :: site
442 integer, dimension(4) :: rand_neighbour
443
integer, parameter, public array_int
Definition constants.f90:28
integer, parameter real64
Longer "double" (64 bit, approx -1.8e308 to 1.8e308 and covering values down to about 2e-308 magnitud...
Definition kinds.f90:59

The documentation for this interface was generated from the following file: