# STOPPED_IMAGES

Transformational Intrinsic Function (Generic): Returns an array of index images that have initiated normal termination.

result = STOPPED_IMAGES ([team, kind])

team | (Input; optional) Must be a scalar of type TEAM_TYPE defined in the intrinsic module ISO_FORTRAN_ENV whose value represents the current or an ancestor team. If not present, the current team is assumed.
kind | (Input; optional) Must be a scalar integer expression with a value that is a valid INTEGER kind type parameter.

## Results

The result is a rank-one integer array with the same type kind parameters as kind if present; otherwise, default integer. The size of the array is equal to the number of images in the specified team that have initiated normal termination.

The result array elements are the image index values of images on the specified team that have initiated normal termination. The indices are arranged in increasing numeric order.

## Example

If image 5 and 12 of the current team have initiated normal termination, the result of STOPPED_IMAGES ( ) is an array of default integer type with size 2 defined with the value [5, 12]. If no images in the current team are known to have failed, the result of STOPPED_IMAGES ( ) is a zero-sized array.

Parent topic: S

## See Also

FAILED_IMAGES
IMAGE_STATUS