34 virtual void execute()
override;
64 const dof_id_type global_i);
74 const dof_id_type global_i);
const InputParameters & parameters() const
A Reporter which stores serialized solution fields for given variables in a distributed fashion.
This class is responsible for serializing solutions coming from subapps on specific processors.
void initializeToMultiapp() override
Methods for transferring data to sub-applications to the master application.
virtual void execute() override
std::vector< SolutionContainer * > _solution_container
Link to the storage spaces on the subapplications (will only hold one in batch mode)
SystemBase & getSystem(FEProblemBase &app_problem, const VariableName &vname)
Return the system which contains the given variable.
virtual void initialSetup() override
void transferToSubAppRoot(FEProblemBase &app_problem, SolutionContainer &solution_container, const dof_id_type global_i)
Serialize on the root processor of the subapplication and transfer the result to the main application...
void finalizeFromMultiapp() override
const bool _serialize_on_root
User-selected switch that determines if we want to serialize on the root of the subapp only or distri...
std::vector< VariableName > _variable_names
The names of the variables which should be extracted from the solution vector.
void transferInParallel(FEProblemBase &app_problem, SolutionContainer &solution_container, const dof_id_type global_i)
Serialize on methodically determined rank of the subapp and transfer to the main application.
static InputParameters validParams()
void finalizeToMultiapp() override
void initializeInBatchMode()
This routine queries the solution container addresses from the subapps.
ParallelSolutionStorage * _parallel_storage
The storage on the main application where the serialized solutions should be transferred.
void initializeInNormalMode()
Initializes the solution container if the multiapp is run in normal mode.
void initializeFromMultiapp() override
Methods used when running in batch mode (see SamplerFullSolveMultiApp)
void executeToMultiapp() override
void executeFromMultiapp() override
This class is responsible for collecting solution vectors in one place.