GRINS-0.8.0
|
Encapsulate QoI output flags and functionality. More...
#include <qoi_output.h>
Public Member Functions | |
QoIOutput (const GetPot &input) | |
~QoIOutput () | |
bool | output_qoi_set () const |
Function to query whether any input options set to output qoi. More... | |
void | output_qois (const CompositeQoI &qois, const libMesh::Parallel::Communicator &comm) const |
Output the QoI values for all triggered output modes. More... | |
Protected Attributes | |
bool | _output_to_display |
bool | _output_to_file |
std::string | _file_prefix |
Encapsulate QoI output flags and functionality.
This class handles both the parsing of the options for triggering QoI output and implements the functionality for outputting the QoIs (which is really just a wrapper around calling output from QoI classes). Currently, the user can enable printing the QoI info to the display (std::cout) and to a file by specifing the filename in the corresponding input option.
Definition at line 52 of file qoi_output.h.
GRINS::QoIOutput::QoIOutput | ( | const GetPot & | input | ) |
Definition at line 43 of file qoi_output.C.
References _output_to_display, GRINS::OutputParsing::display_section(), grins_warning, GRINS::OutputParsing::output_section(), and GRINS::QoIOptions::output_to_display().
|
inline |
Definition at line 58 of file qoi_output.h.
|
inline |
Function to query whether any input options set to output qoi.
Returns true if user requested to output QoI in any one of the avaiable modes, false otherwise.
Definition at line 63 of file qoi_output.h.
References _output_to_display, and _output_to_file.
void GRINS::QoIOutput::output_qois | ( | const CompositeQoI & | qois, |
const libMesh::Parallel::Communicator & | comm | ||
) | const |
Output the QoI values for all triggered output modes.
This function assumes that the qoi values have been assembled by the System.
Definition at line 60 of file qoi_output.C.
References _file_prefix, _output_to_display, _output_to_file, and GRINS::CompositeQoI::output_qoi().
|
protected |
Definition at line 77 of file qoi_output.h.
Referenced by output_qois().
|
protected |
Definition at line 73 of file qoi_output.h.
Referenced by output_qoi_set(), output_qois(), and QoIOutput().
|
protected |
Definition at line 75 of file qoi_output.h.
Referenced by output_qoi_set(), and output_qois().