Function PGARealBuildDatatype

Function Documentation

MPI_Datatype PGARealBuildDatatype(PGAContext *ctx, int p, int pop)

Build an MPI datatype for a string.

Example

PGAContext   *ctx;
int           p;
MPI_Datatype  dt;

...
dt = PGARealBuildDatatype(ctx, p, pop);

Parameters
  • ctx – context variable

  • p – index of string

  • pop – symbolic constant of population string p is in

Returns

An MPI_Datatype