find_indices Interface

interface


Calls

interface~~find_indices~~CallsGraph interface~find_indices find_indices proc~find_indices find_indices interface~find_indices->proc~find_indices

Called by

interface~~find_indices~~CalledByGraph interface~find_indices find_indices proc~sf_init sf_init proc~sf_init->interface~find_indices proc~cobs_init cobs_init proc~cobs_init->interface~find_indices proc~robs_init robs_init proc~robs_init->interface~find_indices interface~cobs_init cobs_init interface~cobs_init->proc~cobs_init interface~robs_init robs_init interface~robs_init->proc~robs_init interface~sf_init sf_init interface~sf_init->proc~sf_init

public module subroutine find_indices(rad, coord, elem_index, node_index)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in), dimension(:):: rad

1d array containing the radii to locate.

type(rgf), intent(in) :: coord

A real grid function containing the coordinates.

integer(kind=ip), intent(out), dimension(:), allocatable:: elem_index

On output contains the indices of the elements containing the provided radii.

integer(kind=ip), intent(out), dimension(:), allocatable:: node_index

On output contains the indices of the nodes inside the elements containing the provided radii.

Description

A helper routine used by initialization routines to locate the element and node indices corresponding to the provided radii

Currently the provided radii has to be within a distance or of a node location of the grid. If not the routine will abort the run.