34 virtual void execute()
override;
void initializeFromMultiapp() override
Methods used when running in batch mode (see SamplerFullSolveMultiApp)
void finalizeFromMultiapp() override
void initializeToMultiapp() override
Methods for transferring data to sub-applications to the master application.
void initializeInNormalMode()
Initializes the solution container if the multiapp is run in normal mode.
SerializedSolutionTransfer(const InputParameters ¶meters)
const InputParameters & parameters() const
void initializeInBatchMode()
This routine queries the solution container addresses from the subapps.
void finalizeToMultiapp() 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...
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.
void executeToMultiapp() override
virtual void execute() override
static InputParameters validParams()
void executeFromMultiapp() 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...
SystemBase & getSystem(FEProblemBase &app_problem, const VariableName &vname)
Return the system which contains the given variable.
virtual void initialSetup() override
ParallelSolutionStorage * _parallel_storage
The storage on the main application where the serialized solutions should be transferred.
This class is responsible for collecting solution vectors in one place.
std::vector< VariableName > _variable_names
The names of the variables which should be extracted from the solution vector.
This class is responsible for serializing solutions coming from subapps on specific processors...
A Reporter which stores serialized solution fields for given variables in a distributed fashion...
std::vector< SolutionContainer * > _solution_container
Link to the storage spaces on the subapplications (will only hold one in batch mode) ...