Function PGADone

Function Documentation

int PGADone(PGAContext *ctx, MPI_Comm comm)

Return true if the stopping conditions have been met.

Description

Calls exactly one of the user defined C or Fortran or system PGACheckStoppingConditions() stopping condition functions.

Example

PGAContext *ctx;

...
PGADone (ctx, comm);

Parameters
  • ctx – context variable

  • comm – an MPI communicator

Returns

return true if at least one of the termination conditions has been met