MPI Derived Datatypes
In order for the communication subsystem to send a,b,n in a single message the following information is required:
count: there are three elements to be transmitted
types: the first element is a float, the second is a float, the third is an int
Another way is to use relative addresses or displacements:
count: there are three elements to be transmitted
types: the first element is a float, the second is a float, the third is an int
the first element is displaced 0 bytes from the beginning of the message, the second 16 bytes, the third 24
the beginning of the message had address &a