24 virtual void execute()
override;
51 const std::vector<ReporterName> & main_app_rep_names,
52 const std::vector<ReporterName> & sub_app_rep_names);
virtual void checkSiblingsTransferSupported() const override
Whether the transfer supports siblings transfer.
virtual void executeFromMultiapp()
const unsigned int & _subapp_index
If set, indicates a particular subapp to transfer the reporter to/from.
const std::vector< ReporterName > & _from_reporter_names
Vector of reporters to transfer data from.
virtual void initialSetup() override
Method called at the beginning of the simulation for checking integrity or doing one-time setup...
static InputParameters validParams()
MultiAppReporterTransfer(const InputParameters ¶meters)
virtual void executeToMultiapp()
const std::vector< ReporterName > & _to_reporter_names
Vector of reporters to transfer data to.
bool _distribute_reporter_vector
determines transfer type
Transfer for migrating reporter values between the main and sub-application(s).
virtual void execute() override
Execute the transfer.
void setVectorReporterTransferModes(const std::shared_ptr< MultiApp > &main_app, const std::vector< ReporterName > &main_app_rep_names, const std::vector< ReporterName > &sub_app_rep_names)
Sets transfer modes for reporters when distributing.
Base class for all MultiAppTransfer objects.
const InputParameters & parameters() const
Get the parameters of the object.