31 _reporter_moose_object(*moose_object),
32 _reporter_params(_reporter_moose_object.parameters()),
33 _reporter_name(_reporter_moose_object.
name()),
35 *_reporter_params.getCheckedPointerParam<
FEProblemBase *>(
"_fe_problem_base")),
36 _reporter_data(_reporter_fe_problem.getReporterData(
ReporterData::WriteKey()))
42 #ifdef MOOSE_KOKKOS_ENABLED 45 _reporter_moose_object(object._reporter_moose_object),
46 _reporter_params(object._reporter_params),
47 _reporter_name(object._reporter_name),
48 _reporter_fe_problem(object._reporter_fe_problem),
49 _reporter_data(object._reporter_data)
60 const ReporterValueName &
65 "When getting a ReporterValueName, failed to get a parameter with the name \"",
68 "\n\nKnown parameters:\n",
78 "\" is not an expected type for getting a Reporter value.\n\n",
79 "The expected type is \"ReporterValueName\".");
std::string name(const ElemQuality q)
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
A class to provide an common interface to objects requiring "outputs" option.
const ReporterValueName & getReporterValueName(const std::string ¶m_name) const
Reporter objects allow for the declaration of arbitrary data types that are aggregate values for a si...
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 std::string & type() const
Get the type of this class.
const InputParameters & _reporter_params
Ref. to MooseObject params.
static InputParameters validParams()
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type and optionally a file path to the top-level block p...
const MooseObject & _reporter_moose_object
The MooseObject creating this Reporter.
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.