18 params.
addParam<
Real>(
"default", 0,
"The default value");
20 "initialize_old",
true,
"Initialize the old postprocessor value with the default value");
22 params.
addClassDescription(
"Reports the value stored in this processor, which is usually filled " 23 "in by another object. The Receiver does not compute its own value.");
29 _initialize_old(getParam<bool>(
"initialize_old")),
30 _my_value(getPostprocessorValueByName(
name()))
39 const Real &
value = getParam<Real>(
"default");
std::string name(const ElemQuality q)
bool _initialize_old
Flag for initializing the old value.
const PostprocessorValue & _my_value
Reference to the value being stored in the associated PostprocessorData class.
void needReporterTimeIndex(const ReporterName &reporter_name, const std::size_t time_index)
Method for setting that a specific time index is requested for a Reporter value.
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
virtual const std::string & name() const
Get the name of the class.
static InputParameters validParams()
const ReporterData & getReporterData() const
Provides const access the ReporterData object.
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
static InputParameters validParams()
Real PostprocessorValue
various MOOSE typedefs
Receiver(const InputParameters ¶meters)
Class constructor.
A ReporterName that represents a Postprocessor.
registerMooseObject("MooseApp", Receiver)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
FEProblemBase & _fe_problem
Reference to the FEProblemBase for this user object.
virtual Real getValue() const override
Returns the value stored in _my_value.
A class for storing data, it allows the user to change the value of the postprocessor by altering the...