https://mooseframework.inl.gov
MultiAppCloneReporterTransfer.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
12 #include "MultiAppTransfer.h"
13 
18 {
19 public:
21 
23  virtual void initialSetup() override;
24  virtual void execute() override;
25 
26 protected:
27  virtual void executeToMultiapp();
28  virtual void executeFromMultiapp();
29 
30  const std::vector<ReporterName> & _from_reporter_names;
31  const std::string & _to_obj_name;
32  const std::vector<ReporterName> _to_reporter_names;
33 };
MultiAppCloneReporterTransfer(const InputParameters &parameters)
const std::vector< ReporterName > _to_reporter_names
const std::vector< ReporterName > & _from_reporter_names
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual void execute() override
Execute the transfer.
virtual void initialSetup() override
Method called at the beginning of the simulation for checking integrity or doing one-time setup...
Transfer for migrating reporter values between the main and sub-application(s).
Base class for all MultiAppTransfer objects.
const InputParameters & parameters() const
Get the parameters of the object.