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;
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)
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
virtual void initialize() override
Initialize, clears the postprocessor vector.
VectorPostprocessorValue & _pp_vec
The VectorPostprocessorValue object where the results are stored.
std::string shortName(const std::string &name)
Function for stripping name after the file / in parser block.
VectorOfPostprocessors is a type of VectorPostprocessor that outputs the values of an arbitrary user-...
static InputParameters validParams()
const T & getParam(const std::string &name) const
Retrieve a parameter for the object.
std::vector< const PostprocessorValue * > _postprocessor_values
The vector of PostprocessorValue objects that are used to get the values of the postprocessors.
virtual const PostprocessorValue & getPostprocessorValueByName(const PostprocessorName &name) const
Retrieve the value of the Postprocessor.
VectorOfPostprocessors(const InputParameters ¶meters)
Class constructor.
static InputParameters validParams()
virtual void execute() override
Populates the postprocessor vector of values with the supplied postprocessors.
registerMooseObject("MooseApp", VectorOfPostprocessors)