one_random_walker Function

public function one_random_walker(matrix, num_steps) result(displacement)

Let one random walker do num_steps jumps on the .true. values of matrix. The initial position is randomly selected.

Arguments

Type IntentOptional AttributesName
logical, intent(in), dimension(:,:):: matrix

Matrix whose .true. values are allowed positions for the random walker.

integer :: num_steps

Number of steps for the random walker to take.

Return Value real(kind=dp), dimension(:,:),allocatable

Array of displacements, which has dimension 2 \(\times\) (num_steps + 1), and should logically have dimension(2,0:num_steps), such that the i'th column contains the displacement after i steps. Averaged over all systems and all walkers.


Calls

proc~~one_random_walker~~CallsGraph proc~one_random_walker one_random_walker proc~find_random_point find_random_point proc~one_random_walker->proc~find_random_point proc~periodic_wraparound periodic_wraparound proc~one_random_walker->proc~periodic_wraparound

Called by

proc~~one_random_walker~~CalledByGraph proc~one_random_walker one_random_walker proc~probability_distribution probability_distribution proc~probability_distribution->proc~one_random_walker proc~random_walkers random_walkers proc~random_walkers->proc~one_random_walker

Contents

None