---
name: "PGADone"
section: "3"
platform: "linux"
package: "pgapack"
version: "1.0.0.1-3"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/PGADone/3"
---

# PGADone(3)

Returns PGA\_TRUE if the stopping conditions have been met, otherwise returns false. Calls exactly one of the user defined C or fortran or system (PGACheckStoppingConditions) stopping condition functions.

## NAME

PGADone - Returns PGA\_TRUE if the stopping conditions have been met, otherwise returns false.  Calls exactly one of the user defined C or fortran or system (PGACheckStoppingConditions) stopping condition functions.

## INPUT PARAMETERS

- ctx

  \- context variable

- comm

  \- an MPI communicator

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
int  PGADone(ctx, comm)
PGAContext *ctx
MPI_Comm comm
```

## LOCATION

stop.c

## EXAMPLE

```
Example:
PGAContext *ctx;
:
PGADone(ctx, comm);
```
