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

# PGASetRestartFlag(3)

specifies whether the algorithm should employ the restart operator

## NAME

PGASetRestartFlag - specifies whether the algorithm should employ the restart operator

## INPUT PARAMETERS

- ctx

  \- context variable

- val

  \- boolean variable

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
void  PGASetRestartFlag(ctx, val)
PGAContext *ctx
int val
```

## LOCATION

restart.c

## EXAMPLE

```
Example:
PGAContext *ctx;
:
PGASetRestartFlag(ctx, PGA_TRUE);
```
