21 "postprocessors",
"The postprocessors whose values are to be reported");
23 "postprocessors as a vector in the order specified by the user");
27 params.
set<
bool>(
"_auto_broadcast") =
false;
34 _pp_vec(declareVector(
MooseUtils::shortName(parameters.getObjectName())))
36 std::vector<PostprocessorName> pps_names(
37 getParam<std::vector<PostprocessorName>>(
"postprocessors"));
38 _pp_vec.resize(pps_names.size());
39 for (
const auto & pps_name : pps_names)
registerMooseObject("MooseApp", VectorOfPostprocessors)
This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
static InputParameters validParams()
const T & getParam(const std::string &name) const
Retrieve a parameter for the object.
virtual const PostprocessorValue & getPostprocessorValueByName(const PostprocessorName &name) const
Retrieve the value of the Postprocessor.
VectorOfPostprocessors is a type of VectorPostprocessor that outputs the values of an arbitrary user-...
virtual void execute() override
Populates the postprocessor vector of values with the supplied postprocessors.
std::vector< const PostprocessorValue * > _postprocessor_values
The vector of PostprocessorValue objects that are used to get the values of the postprocessors.
virtual void initialize() override
Initialize, clears the postprocessor vector.
static InputParameters validParams()
VectorOfPostprocessors(const InputParameters ¶meters)
Class constructor.
VectorPostprocessorValue & _pp_vec
The VectorPostprocessorValue object where the results are stored.