MPIPAI(3) Given the area identifiers of two of the areas defined by whatever

SYNOPSIS

IPRT=MPIPAI(IAIN,IAIP)

C-BINDING SYNOPSIS

#include <ncarg/ncargC.h>

int c_mpipai (int iain, int iaip)

DESCRIPTION

IAIN
is an input expression of type INTEGER, specifying the area identifier of a particular area of interest.
IAIP
is an input expression of type INTEGER, specifying the area identifier of a second area of interest.

C-BINDING DESCRIPTION

The C-binding argument description is the same as the FORTRAN argument description.

USAGE

The statement "IPRT=MPIPAI(IAIN,IAIP)" sets IPRT non-zero if and only if the area having area identifier IAIN is a part of the area having area identifier IAIP. For example, if IMAD is the area identifier of the little island in Lake Superior called "Lake Madeline", ICUS is the area identifier of the area called 'Conterminous US', and IRUS is the area identifier of the area called 'Russia', then MPIPAI(IMAD,ICUS) has a non-zero value, but MPIPAI(IMAD,IRUS) does not.

EXAMPLES

None.

ACCESS

To use MPIPAI or c_mpipai, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.

COPYRIGHT

Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.