| 1 |
/* |
| 2 |
* SPDX-FileCopyrightText: 2026 Oak Ridge National Laboratory and Contributors |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: Apache-2.0 |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef __SETTINGS_H__ |
| 8 |
#define __SETTINGS_H__ |
| 9 |
|
| 10 |
#include <string> |
| 11 |
|
| 12 |
struct Settings |
| 13 |
{ |
| 14 |
size_t L; |
| 15 |
int steps; |
| 16 |
int plotgap; |
| 17 |
double F; |
| 18 |
double k; |
| 19 |
double dt; |
| 20 |
double Du; |
| 21 |
double Dv; |
| 22 |
double noise; |
| 23 |
std::string output; |
| 24 |
bool checkpoint; |
| 25 |
int checkpoint_freq; |
| 26 |
std::string checkpoint_output; |
| 27 |
bool restart; |
| 28 |
std::string restart_input; |
| 29 |
std::string adios_config; |
| 30 |
bool adios_span; |
| 31 |
bool adios_memory_selection; |
| 32 |
std::string mesh_type; |
| 33 |
|
| 34 |
Settings(); |
| 35 |
static Settings from_json(const std::string &fname); |
| 36 |
}; |
| 37 |
|
| 38 |
#endif |