---
name: "PGAGetRestartFlag"
section: "3"
platform: "linux"
package: "pgapack"
version: "1.1.1-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/PGAGetRestartFlag"
---

# PGAGetRestartFlag(3)

returns whether the algorithm should employ the restart operator

## NAME

PGAGetRestartFlag - returns whether the algorithm should employ the restart operator

## INPUT PARAMETERS

- ctx

  \- context variable

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

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

## LOCATION

restart.c

## EXAMPLE

```
Example:
PGAContext *ctx;
int val;
:
val = PGAGetRestartFlag(ctx);
```
