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

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)
 

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
configThe configuration for which to evaluate the energy
site_bSite basis index
site_1Site index 1
site_2Site index 2
site_3Site index 3
Returns
An integer indexing the neighbour

Definition at line 387 of file derived_types.f90.

Constructor & Destructor Documentation

◆ neighbour()

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.

388
389 use kinds, only : real64
390 use constants, only : array_int
391
392 import :: run_params
393
394 integer(array_int), dimension(:,:,:,:), intent(in) :: config
395 real(real64) :: neighbour
396 class(run_params), intent(in) :: setup
397 integer, intent(in) :: site_b, site_i, site_j, site_k
398
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: