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

# PGAGetMaxGAIterValue(3)

Returns the maximum number of iterations to run

## NAME

PGAGetMaxGAIterValue - Returns the maximum number of iterations to run

## INPUT PARAMETERS

- ctx

  \- context variable

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
int  PGAGetMaxGAIterValue(ctx)
PGAContext *ctx
```

## LOCATION

stop.c

## EXAMPLE

```
Example:
PGAContext *ctx;
int maxiter;
:
maxiter = PGAGetMaxGAIterValue(ctx);
```
