![]() |
PRISMS-PF Manual
|
Struct that holds output parameters. More...
#include <output_parameters.h>
Public Member Functions | |
| bool | should_output (unsigned int increment) const |
| Return if the increment should be outputted. | |
| void | validate () |
| Postprocess and validate parameters. | |
| void | print_parameter_summary () const |
| Print parameters to summary.log. | |
| template<typename ListType > | |
| void | add_output_list (const ListType &list) |
| Set the user output list. | |
| void | add_equal_spacing_outputs (unsigned int num_outputs, unsigned int num_increments) |
| Set the user output list. | |
| void | add_log_spacing_outputs (unsigned int num_outputs, unsigned int num_increments) |
| Set the user output list. | |
| void | add_n_per_decade_outputs (unsigned int num_outputs, unsigned int num_increments) |
| Set the user output list. | |
| void | clear_output_list () |
| Set the user output list. | |
| unsigned int | get_num_outputs () const |
| Get the number of outputs that will be made. | |
Public Attributes | |
| std::string | file_type |
| std::string | file_name |
| unsigned int | patch_subdivisions = 0 |
| unsigned int | print_output_period = UINT_MAX |
| bool | print_timing_with_output = false |
| std::set< unsigned int > | output_list = {0} |
Struct that holds output parameters.
|
inline |
Set the user output list.
|
inline |
Set the user output list.
|
inline |
Set the user output list.
Set the user output list.
|
inline |
Set the user output list.
Get the number of outputs that will be made.
|
inline |
Print parameters to summary.log.
Return if the increment should be outputted.
|
inline |
Postprocess and validate parameters.
| std::string OutputParameters::file_name |
| std::string OutputParameters::file_type |