MPIUserLimitConditionUserBuffer

Declaration

typedef struct MPIUserLimitConditionUserBuffer {
    long               index;
    MPIUserLimitLogic  logic;
    MPIDataType        dataType;
    MPIGeneric         value; /*discriminated union tagged by 'dataType'*/
} MPIUserLimitConditionUserBuffer;

 

Required Header: stdmpi.h
Change History: Added in 04.00.

Description

MPIUserLimitConditionUserBuffer represents a user buffer condition’s data for a user limit’s trigger.

index The index of the user buffer array used for the trigger condition.
logic The logic used to compare the user buffer value to the value member.

If logic is MPIUserLimitLogicGT, then the condition will evaluate true when the user buffer value is greater than the value member.
dataType Indicates the data type of the comparison and of the data stored in the user buffer.

Note: The only valid values are MPIDataTypeSHORT, MPIDataTypeUSHORT, MPIDataTypeLONG, MPIDataTypeULONG, MPIDataTypeDOUBLE, MPIDataTypeINT64, and MPIDataTypeUINT64.
value The value to which the user buffer value is compared.

See Also

MPIUserLimitConditionData | MPIUserLimitConditionType