Return block ID and rank of the block where the point is located using a binary search alogirthm. Note that this function assumes that the point is within the domain, i.e., (pmin <= p <= pmax) and that any treatment for periodicity has been previously applied.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(block_obj), | intent(in) | :: | this |
A block object |
||
real(kind=wp), | intent(in) | :: | p(3) |
Position to locate |
MPI rank