https://mooseframework.inl.gov
AnalysisStepNumber.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "GeneralPostprocessor.h"
13 #include "AnalysisStepUserObject.h"
14 
19 {
20 public:
22 
24 
25  virtual void execute() override {};
26  virtual void initialize() override {};
27  virtual PostprocessorValue getValue() const override;
28 
29 private:
34 };
virtual PostprocessorValue getValue() const override
static InputParameters validParams()
virtual void execute() override
Real PostprocessorValue
Given the current time, outputs the current analysis step number.
const AnalysisStepUserObject & _step_uo
The AnalysisStepUserObject that contains step time information.
const InputParameters & parameters() const
User object that provides analysis steps given user input.
virtual void initialize() override
const bool _use_one_based_indexing
Flag for reporting step times beginning at 1 instead of 0.
AnalysisStepNumber(const InputParameters &parameters)