virtual void setFileBaseInternal(const std::string &file_base)
Internal function that sets the file_base.
virtual bool shouldOutput() override
Checks if the output method should be executed.
virtual std::string filename()
The filename for the output file.
unsigned int getFileNumber()
Return the current file number for this outputter.
std::string _file_base
The base filename from the input paramaters.
void setFileNumber(unsigned int num)
Sets the file number manually.
unsigned int _padding
Number of digits to pad the extensions.
void setFileBase(const std::string &file_base)
Sets the file base string if the 'file_base' parameter is not set.
static InputParameters validParams()
Class for storing and utilizing output objects.
std::vector< std::string > _output_if_base_contains
Storage for 'output_if_base_contains'.
const InputParameters & parameters() const
Get the parameters of the object.
unsigned int & _file_num
A file number counter, initialized to 0 (this must be controlled by the child class, see Exodus)
FileOutput(const InputParameters ¶meters)
Class constructor.
An outputter with filename support.
Adds the ability to output on every nonlinear and/or linear residual.
bool checkFilename()
Checks the filename for output Checks the output against the 'output_if_base_contians' list...