31 virtual bool solveStep(Real dt, Real target_time,
bool auto_advance =
true)
override;
49 virtual std::vector<std::string>
getCommandLineArgs(
const unsigned int local_app)
override;
55 bool solveStepBatch(Real dt, Real target_time,
bool auto_advance =
true);
64 std::vector<std::shared_ptr<StochasticToolsTransfer>>
const InputParameters & parameters() const
virtual bool solveStep(Real dt, Real target_time, bool auto_advance=true) override
Override solveStep to allow for batch execution.
const dof_id_type _number_of_sampler_rows
Store the number of rows initialized, if this changes error because it doesn't make sense.
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'.
Sampler & _sampler
Sampler to utilize for creating MultiApps.
std::vector< std::vector< std::unique_ptr< Backup > > > & _batch_backup
Storage for batch-restore mode; the outer vector if for the local stochastic data and the inner vecto...
const StochasticTools::MultiAppMode _mode
The Sup-application solve mode.
virtual std::vector< std::string > getCommandLineArgs(const unsigned int local_app) override
Override to allow to get correct cli_args.
std::vector< std::shared_ptr< StochasticToolsTransfer > > getActiveStochasticToolsTransfers(Transfer::DIRECTION direction)
Helper for getting StochasticToolsTransfer objects.
static InputParameters validParams()
dof_id_type _local_batch_app_index
Counter for extracting command line arguments in batch mode.