check_particle_positions Module Procedure

module procedure check_particle_positions module subroutine check_particle_positions(npart, pos, debug)

Uses

    • NR
  • proc~~check_particle_positions~~UsesGraph proc~check_particle_positions check_particle_positions NR NR proc~check_particle_positions->NR

Check that the particles are not at the same positions

FT 1.9.2021


Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: npart

Number of particles

double precision, intent(in), DIMENSION(3,npart) :: pos

Array of particle positions

logical, intent(in), optional :: debug

TRUE to debug the SUBROUTINE, FALSE otherwise


Calls

proc~~check_particle_positions~~CallsGraph proc~check_particle_positions check_particle_positions indexx indexx proc~check_particle_positions->indexx

Called by

proc~~check_particle_positions~~CalledByGraph proc~check_particle_positions check_particle_positions interface~check_particle_positions check_particle_positions interface~check_particle_positions->proc~check_particle_positions proc~construct_particles_std construct_particles_std proc~construct_particles_std->interface~check_particle_positions interface~perform_apm perform_apm proc~construct_particles_std->interface~perform_apm proc~perform_apm perform_apm proc~perform_apm->interface~check_particle_positions interface~construct_particles_std construct_particles_std interface~construct_particles_std->proc~construct_particles_std interface~perform_apm->proc~perform_apm interface~particles particles interface~particles->interface~construct_particles_std program~convergence_test convergence_test program~convergence_test->interface~particles program~sphincs_id sphincs_id program~sphincs_id->interface~particles

Contents


Variables

Type Visibility Attributes Name Initial
integer, private :: itr

Iterator

integer, private :: itr2

Iterator

integer, private :: x_idx

Index at which a new value of the coordinate appears, in the array pos sorted so that the coordinate does not decrease

integer, private, DIMENSION(:), ALLOCATABLE :: x_number

Array storing, for each coordinate, the number of particles having that coordinate

integer, private, DIMENSION(:), ALLOCATABLE :: x_sort

Array storing the sorted indices of array pos, so that the coordinate of the particles is in nondecreasing order