31 _reporter_moose_object(*moose_object),
32 _reporter_params(_reporter_moose_object.parameters()),
33 _reporter_name(_reporter_params.
get<
std::string>(
"_object_name")),
35 *_reporter_params.getCheckedPointerParam<
FEProblemBase *>(
"_fe_problem_base")),
36 _reporter_data(_reporter_fe_problem.getReporterData(
ReporterData::WriteKey()))
48 const ReporterValueName &
53 "When getting a ReporterValueName, failed to get a parameter with the name \"",
56 "\n\nKnown parameters:\n",
66 "\" is not an expected type for getting a Reporter value.\n\n",
67 "The expected type is \"ReporterValueName\".");
static InputParameters validParams()
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
A class to provide an common interface to objects requiring "outputs" option.
const ReporterValueName & getReporterValueName(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.
virtual void store(nlohmann::json &json) const
Every object that can be built by the factory should be derived from this class.
Reporter(const MooseObject *moose_object)
const InputParameters & _reporter_params
Ref. to MooseObject params.
static InputParameters validParams()
const MooseObject & _reporter_moose_object
The MooseObject creating this Reporter.
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
const InputParameters & parameters() const
Get the parameters of the object.
void registerInterfaceObject(T &interface)
Registers an interface object for accessing with getInterfaceObjects.
This is a helper class for managing the storage of declared Reporter object values.