7.2.10 _gfortran_caf_is_present — Query whether an allocatable or pointer component in a derived type coarray is allocated

Description:

Used to query the coarray library whether an allocatable component in a derived type coarray is allocated on a remote image.

Syntax:

void _gfortran_caf_is_present (caf_token_t token, int image_index, gfc_reference_t *ref)

Arguments:
tokenAn opaque pointer identifying the coarray.
image_indexThe ID of the remote image; must be a positive number.
refA chain of references to address the allocatable or pointer component in the derived type coarray. The object reference needs to be a scalar or a full array reference, respectively.