PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
Functions
al_boundary.c File Reference

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)
 

Detailed Description

Check if the local beginnings or endings of an array correspond to the global beginnings or endings.

Author
A. Malagoli (University of Chicago)
Date
Jul 17, 1999

Function Documentation

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.

Parameters
[in]sz_ptrpointer to a distributed array descriptor (integer)
[out]is_gbegint array set to AL_TRUE or AL_FALSE for global beginning
[out]is_gendint array set to AL_TRUE or AL_FALSE for global ending