![]() |
SPEED
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | get_nearest_node (n, xs, ys, zs, xt, yt, zt, nt, dist_min) |
Computes the nearest node with respet to (xt,yt,zt). | |
subroutine get_nearest_node | ( | integer*4 | n, |
real*8, dimension(n) | xs, | ||
real*8, dimension(n) | ys, | ||
real*8, dimension(n) | zs, | ||
real*8 | xt, | ||
real*8 | yt, | ||
real*8 | zt, | ||
integer*4 | nt, | ||
real*8 | dist_min | ||
) |
Computes the nearest node with respet to (xt,yt,zt).
[in] | n | number of local nodes |
[in] | xs | vertex x-coordinate of local nodes |
[in] | ys | vertex y-coordinate of local nodes |
[in] | zs | vertex z-coordinate of local nodes |
[in] | xt | x-coor current vertex |
[in] | yt | y-coor current vertex |
[in] | zt | z-coor current vertex |
[out] | nt | index of the nearest node from (xt,yt,zt) |
[out] | dist_min | minimal distance from (xt,yt,zt) |
Definition at line 34 of file GET_NEAREST_NODE.f90.
Referenced by make_extint_forces(), and make_system_position_lglnodes().