Nplet_in_RealWrd

checks the world N-dimensional coordinates, Nplet_world[], is within the local task grid specified by the local task grid end-points, task_Grid_endpts[].

Synopsis


int Nplet_in_RealWrd(
                      int Ndim,
                      int task_Grid_endpts[],
                      int Nplet_world[]
                    )

Unmodified Input Variables

Ndim - Dimensionality of the Grid (Integer)
task_Grid_endpts - Integer Array, of size 2 x Ndim, of the two end-points' coordinates of the LOCAL task grid. It is implicitly assumed to be declared as task_Grid_endpts[ 2 ][ Ndim ].
Nplet_world - Integer Array, of size Ndim, of the global N-dimensional coordinates.

Modified Output Variables

returned value - returns TRUE, 1, if Nplet_world[] is in the local grid. returns FALSE, 0, otherwise.

Definition Location

This subroutine is defined in the librgx.a.

Location:../src/librgx/Nplet_in_RealWrd.c