https://mooseframework.inl.gov
ProgressOutput.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Output.h"
13 
14 class TransientBase;
15 
19 class ProgressOutput : public Output
20 {
21 public:
23 
25 
26 protected:
27  void output() override;
28 
30 
32  const bool _use_filename;
33 
35  const unsigned int _length;
36 };
const unsigned int _length
total length of the progress bar
void output() override
Overload this function with the desired output activities.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Output a simulation time progress bar on the console.
const TransientBase *const _transient_executioner
Based class for output objects.
Definition: Output.h:43
static InputParameters validParams()
ProgressOutput(const InputParameters &parameters)
Base class for transient executioners that use a FixedPointSolve solve object for multiapp-main app i...
Definition: TransientBase.h:26
const InputParameters & parameters() const
Get the parameters of the object.
const bool _use_filename
display input file name in the progress bar title