18 params.
addParam<Real>(
"value", 0,
"The value");
registerMooseObject("MooseApp", ConstantPostprocessor)
Real PostprocessorValue
various MOOSE typedefs
A class for storing a constant value.
static InputParameters validParams()
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
const Real & _value
value held by postprocessor
ConstantPostprocessor(const InputParameters ¶meters)
const ReporterData & getReporterData() const
Provides const access the ReporterData object.
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
static InputParameters validParams()
const std::string & name() const
Get the name of the class.
A ReporterName that represents a Postprocessor.
void setReporterValue(const ReporterName &reporter_name, const T &value, const std::size_t time_index=0)
Method for setting Reporter values that already exist.
FEProblemBase & _fe_problem
Reference to the FEProblemBase for this user object.