This subroutine looks for the nearest element to the position (xx, yy, zz) among the element of xyzcen array.
More...
|
subroutine | findpt (ncelet, ncel, xyzcen, xx, yy, zz, node, ndrang) |
This subroutine looks for the nearest element to the position (xx, yy, zz) among the element of xyzcen array.
◆ findpt()
subroutine findpt |
( |
integer | ncelet, |
|
|
integer | ncel, |
|
|
double precision, dimension(3,ncelet) | xyzcen, |
|
|
double precision | xx, |
|
|
double precision | yy, |
|
|
double precision | zz, |
|
|
integer | node, |
|
|
integer | ndrang ) |
- Parameters
-
[in] | ncelet | number of extended (real + ghost) elements |
[in] | ncel | number of element |
[in] | xyzcen | interleaved array containing vector positions |
[in] | xx | X component of the point position to be compared with |
[in] | yy | Y component of the point position to be compared with |
[in] | zz | Z component of the point position to be compared with |
[in] | node | element of xyzcen which is the nearest to (xx,yy,zz) |
[in] | ndrang | index of the Rank containing the nearest element |