31 virtual bool solveStep(
Real dt,
Real target_time,
bool auto_advance =
true)
override;
55 bool solveStepBatch(Real dt, Real target_time,
bool auto_advance =
true);
70 std::vector<std::shared_ptr<StochasticToolsTransfer>>
std::vector< Real > _row_data
Current row of data updated by updateRowData. Used by transfers and setting command line args...
std::vector< std::shared_ptr< StochasticToolsTransfer > > getActiveStochasticToolsTransfers(Transfer::DIRECTION direction)
Helper for getting StochasticToolsTransfer objects.
const StochasticTools::MultiAppMode _mode
The Sup-application solve mode.
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...
static InputParameters validParams()
void updateRowData(dof_id_type local_index)
Helper function for updating _row_data and _local_row_index.
virtual bool solveStep(Real dt, Real target_time, bool auto_advance=true) override
Override solveStep to allow for batch execution.
dof_id_type _local_row_index
Current local index representing _row_data.
SamplerTransientMultiApp(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual std::string getCommandLineArgsParamHelper(unsigned int local_app) override
Override to allow to get correct cli_args.
bool solveStepBatch(Real dt, Real target_time, bool auto_advance=true)
Helper method for running in mode='batch'.
const InputParameters & parameters() const
Sampler & _sampler
Sampler to utilize for creating MultiApps.
dof_id_type _local_batch_app_index
Counter for extracting command line arguments in batch mode.
virtual void initialSetup() override
Override to initialize batch backups.
const dof_id_type _number_of_sampler_rows
Store the number of rows initialized, if this changes error because it doesn't make sense...