Go to the documentation of this file.
13 #include "TransientMultiApp.h"
14 #include "SamplerInterface.h"
35 virtual bool solveStep(Real dt, Real target_time,
bool auto_advance =
true)
override;
53 bool solveStepBatch(Real dt, Real target_time,
bool auto_advance =
true);
62 std::vector<std::shared_ptr<StochasticToolsTransfer>>
std::vector< std::vector< std::shared_ptr< Backup > > > _batch_backup
Storage for batch-restore mode; the outer vector if for the local stochastic data and the inner vecto...
SamplerTransientMultiApp(const InputParameters ¶meters)
virtual bool solveStep(Real dt, Real target_time, bool auto_advance=true) override
Override solveStep to allow for batch execution.
Sampler & _sampler
Sampler to utilize for creating MultiApps.
virtual void initialSetup() override
Override to initialize batch backups.
bool solveStepBatch(Real dt, Real target_time, bool auto_advance=true)
Helper method for running in mode='batch'.
InputParameters validParams< SamplerTransientMultiApp >()
const StochasticTools::MultiAppMode _mode
The Sup-application solve mode.
static InputParameters validParams()
std::vector< std::shared_ptr< StochasticToolsTransfer > > getActiveStochasticToolsTransfers(Transfer::DIRECTION direction)
Helper for getting StochasticToolsTransfer objects.