AltairIpcGetVector

Reads vector data from the Altair program.

Syntax

int AltairIpcGetVector(unsigned long *data_size, double **data)

Inputs

data_size
A pointer to an unsigned long specifying the number of data items being sent from the Altair program.
data
A pointer to a pointer to a double specifying the vector data being sent from the Altair program to the external program.

Comments

AltairIpcGetVector returns an integer. If the value returned is 0, the function failed. If the value returned is non-zero, the function succeeded.

You are responsible for freeing the memory returned in the data variable if the function succeeds.