54#ifdef MOOSE_KOKKOS_ENABLED
61 virtual void store(nlohmann::json & json)
const;
123 T &
declareValue(
const std::string & param_name, Args &&... args);
131 template <
typename T,
typename S,
typename... Args>
133 template <
typename T,
typename S,
typename... Args>
135 template <
typename T,
typename S,
typename... Args>
137 template <
typename T,
typename S,
typename... Args>
151 template <
typename T,
typename... Args>
172 template <
typename T>
204template <
typename T,
template <
typename>
class S,
typename... Args>
211template <
typename T,
template <
typename>
class S,
typename... Args>
215 return declareValue<T, S<T>>(param_name, mode, args...);
218template <
typename T,
typename S,
typename... Args>
225template <
typename T,
typename S,
typename... Args>
232template <
typename T,
template <
typename>
class S,
typename... Args>
239template <
typename T,
template <
typename>
class S,
typename... Args>
245 return declareValueByName<T, S<T>>(value_name, mode, args...);
248template <
typename T,
typename S,
typename... Args>
255template <
typename T,
typename S,
typename... Args>
271 return declareUnusedValue<T>();
276template <
typename T,
typename... Args>
282 return wrapper->
value;
const ReporterMode REPORTER_MODE_UNSET
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
const InputParameters & parameters() const
Get the parameters of the object.
Every object that can be built by the factory should be derived from this class.
A class to provide an common interface to objects requiring "outputs" option.
void buildOutputHideVariableList(std::set< std::string > variable_names)
Builds hide lists for output objects NOT listed in the 'outputs' parameter.
This is a helper class for managing the storage of declared Reporter object values.
T & declareReporterValue(const ReporterName &reporter_name, const ReporterMode &mode, const MooseObject &producer, Args &&... args)
Method for returning a writable reference to the current Reporter value.
MooseEnumItem that automatically creates the ID and doesn't allow the ID to be assigned.
The Reporter system is comprised of objects that can contain any number of data values.
Reporter objects allow for the declaration of arbitrary data types that are aggregate values for a si...
T & declareValueByName(const ReporterValueName &value_name, Args &&... args)
const std::string & _reporter_name
The name of the MooseObject, from "_object_name" param.
const InputParameters & _reporter_params
Ref. to MooseObject params.
virtual void declareLateValues()
Method that can be overriden to declare "late" Reporter values.
virtual void store(nlohmann::json &json) const
const ReporterValueName & getReporterValueName(const std::string ¶m_name) const
ReporterData & _reporter_data
Data storage.
static InputParameters validParams()
T & declareValue(const std::string ¶m_name, Args &&... args)
Method to define a value that the Reporter object is to produced.
T & declareValue(const std::string ¶m_name, ReporterMode mode, Args &&... args)
const MooseObject & _reporter_moose_object
The MooseObject creating this Reporter.
T & declareUnusedValue(Args &&... args)
Declare a unused value with type T.
FEProblemBase & _reporter_fe_problem
Needed for access to FEProblemBase::getReporterData.
T & declareValueByName(const ReporterValueName &value_name, ReporterMode mode, Args &&... args)
virtual bool shouldStore() const
virtual ~Reporter()=default
std::vector< std::unique_ptr< UnusedWrapperBase > > _unused_values
Storage for unused values declared with declareUnusedValue().
Internal base struct for use in storing unused values.
virtual ~UnusedWrapperBase()
Needed for polymorphism.
Internal struct for storing a unused value.