21 : _ri_params(moose_object->parameters()),
22 _ri_fe_problem_base(*_ri_params.getCheckedPointerParam<
FEProblemBase *>(
"_fe_problem_base")),
23 _ri_reporter_data(_ri_fe_problem_base.getReporterData()),
24 _ri_moose_object(*moose_object)
33 "Cannot call hasReporterValue() until all Reporters have been constructed.");
43 "Cannot call hasReporterValueByName() until all Reporters have been constructed.");
53 "When getting a Reporter, failed to get a parameter with the name \"",
56 "\n\nKnown parameters:\n",
66 "\" is not an expected type for getting a Reporter.\n\n",
67 "The expected type is \"ReporterName\".");
static InputParameters validParams()
bool isTaskComplete(const std::string &task) const
const ReporterName & getReporterName(const std::string ¶m_name) const
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
MooseApp & getMooseApp() const
Get the MooseApp this class is associated with.
bool reportersAdded() const
bool hasReporterValue(const std::string ¶m_name) const
Return True if the Reporter value exists.
Every object that can be built by the factory should be derived from this class.
ActionWarehouse & actionWarehouse()
Return a writable reference to the ActionWarehouse associated with this app.
ReporterInterface(const MooseObject *moose_object)
const MooseObject & _ri_moose_object
The MooseObject needing this interface.
const InputParameters & _ri_params
Parameters for the MooseObject inherting from this interface.
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
const ReporterData & _ri_reporter_data
The ReporterData.
const InputParameters & parameters() const
Get the parameters of the object.
bool hasReporterValue(const ReporterName &reporter_name) const
Return True if a Reporter value with the given type and name have been created.
bool hasReporterValueByName(const ReporterName &reporter_name) const
The Reporter system is comprised of objects that can contain any number of data values.
FEProblemBase & _ri_fe_problem_base
Provides access to FEProblemBase::getReporterData.