24 virtual void execute()
override;
57 const T & val = getReporterValueByName<T>(rname);
58 std::vector<T> & acc_val =
const ReporterMode REPORTER_MODE_REPLICATED
const ReporterMode REPORTER_MODE_DISTRIBUTED
const ReporterMode REPORTER_MODE_UNSET
const ReporterMode REPORTER_MODE_ROOT
virtual void declareLateValues() override
Method that can be overriden to declare "late" Reporter values.
virtual void finalize() override
Finalize.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
bool declareAccumulateHelper(const ReporterName &rname)
Helper for declaring an accumulative reporter value This will fill in _accumulated_values if the repo...
virtual void execute() override
Execute method.
std::vector< std::unique_ptr< AccumulatedValueBase > > _accumulated_values
Vector of accumulated value objects.
static InputParameters validParams()
virtual ~AccumulatedValueBase()=default
virtual void accumulate(unsigned int index)=0
virtual void accumulate(unsigned int index) override
std::vector< T > & _acc_val
AccumulatedValue(const T &val, std::vector< T > &acc_val)
const ReporterData & getReporterData() const
Provides const access the ReporterData object.
Reporter object that has a single execution of the "execute" method for each execute flag.
const InputParameters & parameters() const
Get the parameters of the object.
This is a helper class for managing the storage of declared Reporter object values.
bool hasReporterValue(const ReporterName &reporter_name) const
Return True if a Reporter value with the given type and name have been created.
const ReporterProducerEnum & getReporterMode(const ReporterName &reporter_name) const
Return the ReporterProducerEnum for an existing ReporterValue.
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.
const std::string & getObjectName() const
Return the object name that produces the Reporter value.
const std::string & getValueName() const
Return the data name for the Reporter value.
FEProblemBase & _fe_problem
Reference to the FEProblemBase for this user object.