| 1 |
/* |
| 2 |
* SPDX-FileCopyrightText: 2026 Oak Ridge National Laboratory and Contributors |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: Apache-2.0 |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef __RESTART_H__ |
| 8 |
#define __RESTART_H__ |
| 9 |
|
| 10 |
#include "gray-scott.h" |
| 11 |
#include "settings.h" |
| 12 |
|
| 13 |
#include <adios2.h> |
| 14 |
#include <mpi.h> |
| 15 |
|
| 16 |
void WriteCkpt(MPI_Comm comm, const int step, const Settings &settings, const GrayScott &sim, |
| 17 |
adios2::IO io); |
| 18 |
int ReadRestart(MPI_Comm comm, const Settings &settings, GrayScott &sim, adios2::IO io); |
| 19 |
|
| 20 |
#endif |