Check if the local beginnings or endings of an array correspond to the global beginnings or endings. More...
#include "al_hidden.h"Functions | |
| int | AL_Is_boundary (int sz_ptr, int *is_gbeg, int *is_gend) |
Check if the local beginnings or endings of an array correspond to the global beginnings or endings.
| int AL_Is_boundary | ( | int | sz_ptr, |
| int * | is_gbeg, | ||
| int * | is_gend | ||
| ) |
This routine is useful when implementing the physical boundary conditions on a problem. It returns two arrays that are set to AL_TRUE or AL_FALSE depending on wether or not the local beginning (ending) address for the array in each direction is actually a global one.
| [in] | sz_ptr | pointer to a distributed array descriptor (integer) |
| [out] | is_gbeg | int array set to AL_TRUE or AL_FALSE for global beginning |
| [out] | is_gend | int array set to AL_TRUE or AL_FALSE for global ending |
1.8.2