Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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. |
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.