Classes | Functions
MultiAppPostprocessorTransfer.h File Reference

Go to the source code of this file.


class  MultiAppPostprocessorTransfer
 Copies the value of a Postprocessor from the Master to a MultiApp. More...


InputParameters validParams< MultiAppPostprocessorTransfer > ()

Function Documentation

Definition at line 28 of file MultiAppPostprocessorTransfer.C.

29 {
31  params.addRequiredParam<PostprocessorName>(
32  "from_postprocessor",
33  "The name of the Postprocessor in the Master to transfer the value from.");
34  params.addRequiredParam<PostprocessorName>(
35  "to_postprocessor",
36  "The name of the Postprocessor in the MultiApp to transfer the value to. "
37  " This should most likely be a Reporter Postprocessor.");
38  MooseEnum reduction_type("average sum maximum minimum");
39  params.addParam<MooseEnum>("reduction_type",
40  reduction_type,
41  "The type of reduction to perform to reduce postprocessor "
42  "values from multiple SubApps to a single value");
43  return params;
44 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
InputParameters validParams< MultiAppTransfer >()
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...