14 #include "libmesh/numeric_vector.h" 31 std::string var_name)
override;
35 virtual bool solveStep(
Real dt,
Real target_time,
bool auto_advance =
true)
override;
39 virtual void finishStep(
bool recurse_through_multiapp_levels =
false)
override;
41 virtual void resetApp(
unsigned int global_app,
Real time)
override;
virtual NumericVector< Number > & appTransferVector(unsigned int app, std::string var_name) override
Get the vector to transfer to for this MultiApp.
Utility class for catching solve failure errors so that MOOSE can recover state before continuing...
bool _print_sub_cycles
Flag for toggling console output on sub cycles.
static InputParameters validParams()
unsigned int _max_failures
virtual void initialSetup() override
Method to be called in main-app initial setup for create sub-apps if using positions is false...
void setupApp(unsigned int i, Real time=0.0)
Setup the executioner for the local app.
virtual void resetApp(unsigned int global_app, Real time) override
"Reset" the App corresponding to the global App number passed in.
MultiApp Implementation for Transient Apps.
bool _detect_steady_state
MultiAppSolveFailure(const std::string &error)
TransientMultiApp(const InputParameters ¶meters)
std::set< unsigned int > _reset
std::set< dof_id_type > _transferred_dofs
The DoFs associated with all of the currently transferred variables.
MultiAppSolveFailure(const MultiAppSolveFailure &e)
std::vector< TransientBase * > _transient_executioners
Base class for transient executioners that use a FixedPointSolve solve object for multiapp-main app i...
bool & _first
Is it our first time through the execution loop?
std::vector< std::string > _transferred_vars
The variables that have been transferred to. Used when doing transfer interpolation. This will be cleared after each solve.
Real computeDT()
Finds the smallest dt from among any of the apps.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< std::map< std::string, unsigned int > > _output_file_numbers
const InputParameters & parameters() const
Get the parameters of the object.
bool _interpolate_transfers
A MultiApp represents one or more MOOSE applications that are running simultaneously.
virtual void incrementTStep(Real target_time) override
Advances the multi-apps time step which is important for dt selection.
virtual bool solveStep(Real dt, Real target_time, bool auto_advance=true) override
Re-solve all of the Apps.
virtual void finishStep(bool recurse_through_multiapp_levels=false) override
Calls multi-apps executioners' endStep and postStep methods which creates output and advances time (n...