C-BINDING SYNOPSIS#include <ncarg/ncargC.h>
int c_mpipar (int iain)
- is an input expression of type INTEGER, specifying the area identifier of a particular area of interest.
C-BINDING DESCRIPTIONThe C-binding argument description is the same as the FORTRAN argument description.
USAGEThe statement "IPAR=MPIPAR(IAIN)" retrieves in IPAR the area identifier of the parent of the area with area identifier IAIN. For example, if IMAD is the area identifier of the little island in Lake Superior called "Lake Madeline", then MPIPAR(IMAD) is the area identifier of the area called "Wisconsin".
EXAMPLESUse the ncargex command to see the following relevant example: mpex12.
ACCESSTo use MPIPAR or c_mpipar, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
COPYRIGHTCopyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.