OGS
|
Holds information about which variables to write to output files.
Definition at line 38 of file OutputDataSpecification.h.
#include <OutputDataSpecification.h>
Public Member Functions | |
OutputDataSpecification (std::set< std::string > &&output_variables_, std::vector< double > &&fixed_output_times_, std::vector< PairRepeatEachSteps > &&repeats_each_steps_, bool const output_residuals_) | |
bool | isOutputStep (int timestep, NumLib::Time const &time) const |
Public Attributes | |
std::set< std::string > | output_variables |
All variables that shall be output. | |
std::vector< double > | fixed_output_times |
Given times that steps have to reach. | |
std::vector< PairRepeatEachSteps > | repeats_each_steps |
Describes after which timesteps to write output. | |
bool | output_residuals |
Tells if also to output extrapolation residuals. | |
ProcessLib::OutputDataSpecification::OutputDataSpecification | ( | std::set< std::string > && | output_variables_, |
std::vector< double > && | fixed_output_times_, | ||
std::vector< PairRepeatEachSteps > && | repeats_each_steps_, | ||
bool const | output_residuals_ ) |
Definition at line 18 of file OutputDataSpecification.cpp.
References fixed_output_times, OGS_FATAL, and repeats_each_steps.
bool ProcessLib::OutputDataSpecification::isOutputStep | ( | int | timestep, |
NumLib::Time const & | time ) const |
Determines if there should be output at the given timestep
or time
.
Definition at line 50 of file OutputDataSpecification.cpp.
References fixed_output_times, and repeats_each_steps.
Referenced by ProcessLib::Output::isOutputStep().
std::vector<double> ProcessLib::OutputDataSpecification::fixed_output_times |
Given times that steps have to reach.
Definition at line 50 of file OutputDataSpecification.h.
Referenced by OutputDataSpecification(), ProcessLib::Output::getFixedOutputTimes(), isOutputStep(), and ProcessLib::operator<<().
bool ProcessLib::OutputDataSpecification::output_residuals |
Tells if also to output extrapolation residuals.
Definition at line 56 of file OutputDataSpecification.h.
Referenced by ProcessLib::addProcessDataToMesh(), and ProcessLib::operator<<().
std::set<std::string> ProcessLib::OutputDataSpecification::output_variables |
All variables that shall be output.
Definition at line 47 of file OutputDataSpecification.h.
Referenced by ProcessLib::addProcessDataToMesh(), ProcessLib::operator<<(), and ProcessLib::Output::outputMeshes().
std::vector<PairRepeatEachSteps> ProcessLib::OutputDataSpecification::repeats_each_steps |
Describes after which timesteps to write output.
Definition at line 53 of file OutputDataSpecification.h.
Referenced by OutputDataSpecification(), isOutputStep(), and ProcessLib::operator<<().