![]() |
PRISMS-PF Manual
|
Struct that holds checkpoint parameters. More...
#include <checkpoint_parameters.h>
Public Member Functions | |
| bool | should_checkpoint (unsigned int increment) const |
| Return if the increment should be checkpointted. | |
| void | validate () |
| Postprocess and validate parameters. | |
| void | print_parameter_summary () const |
| Print parameters to summary.log. | |
| template<typename ListType > | |
| void | add_checkpoint_list (const ListType &list) |
| Set the user checkpoint list. | |
| void | add_equal_spacing_checkpoints (unsigned int num_checkpoints, unsigned int num_increments) |
| Set the user checkpoint list. | |
| void | add_log_spacing_checkpoints (unsigned int num_checkpoints, unsigned int num_increments) |
| Set the user checkpoint list. | |
| void | add_n_per_decade_checkpoints (unsigned int num_checkpoints, unsigned int num_increments) |
| Set the user checkpoint list. | |
| void | clear_checkpoint_list () |
| Set the user checkpoint list. | |
| unsigned int | get_num_checkpoints () const |
| Get the number of checkpoints that will be made. | |
Public Attributes | |
| bool | should_load_checkpoint = false |
| std::string | file_name |
| bool | print_timing_with_checkpoint = false |
| std::set< unsigned int > | checkpoint_list |
Struct that holds checkpoint parameters.
Set the user checkpoint list.
|
inline |
Set the user checkpoint list.
|
inline |
Set the user checkpoint list.
|
inline |
Set the user checkpoint list.
|
inline |
Set the user checkpoint list.
Get the number of checkpoints that will be made.
|
inline |
Print parameters to summary.log.
Return if the increment should be checkpointted.
|
inline |
Postprocess and validate parameters.
| std::string CheckpointParameters::file_name |