PLUTO
|
Check if the local beginnings or endings of an array correspond to the global beginnings or endings. More...
#include "al_hidden.h"
Go to the source code of this file.
Functions | |
int | AL_Is_boundary (int sz_ptr, int *is_gbeg, int *is_gend) |
Variables | |
SZ * | sz_stack [AL_MAX_ARRAYS] |
int | stack_ptr [AL_MAX_ARRAYS] |
Check if the local beginnings or endings of an array correspond to the global beginnings or endings.
Check if the local beginnings or endings of an array correspond to the global beginnings or endings.
Definition in file al_boundary.c.
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 |
Definition at line 28 of file al_boundary.c.
int stack_ptr[AL_MAX_ARRAYS] |
Definition at line 26 of file al_szptr_.c.
SZ* sz_stack[AL_MAX_ARRAYS] |
Definition at line 18 of file al_szptr_.c.