17 #include "libmesh/equation_systems.h" 33 _problem(_fe_problem),
34 _feproblem_solve(*this),
35 _system_time(getParam<
Real>(
"time")),
36 _time_step(_problem.timeStep()),
37 _time(_problem.time()),
38 _output_iteration_number(0)
58 _console <<
"\nCannot recover steady solves!\nExiting...\n" << std::endl;
74 #ifdef LIBMESH_ENABLE_AMR 78 for (
unsigned int r_step = 0; r_step <= steps; r_step++)
80 #endif // LIBMESH_ENABLE_AMR 87 _console <<
"Aborting as solve did not converge" << std::endl;
99 #ifdef LIBMESH_ENABLE_AMR 110 TIME_SECTION(
"final", 1,
"Executing Final Objects")
128 mooseError(
"You have specified time kernels in your steady state simulation");
virtual void preExecute()
Override this for actions that should take place before execution.
void timestepSetup() override
virtual bool lastSolveConverged() const override
Whether or not the last solve converged.
bool _last_solve_converged
virtual void postExecute()
Method called at the end of the simulation.
virtual void computeMarkers()
Steady executioners usually only call "solve()" on the NonlinearSystem once.
const ExecFlagType EXEC_TIMESTEP_END
registerMooseObject("MooseApp", Steady)
virtual void advanceState()
Advance all of the state holding vectors / datastructures so that we can move to the next timestep...
virtual void execute(const ExecFlagType &exec_type)
Convenience function for performing execution of MOOSE systems.
FEProblemSolve _feproblem_solve
static InputParameters validParams()
const ExecFlagType EXEC_PRE_MULTIAPP_SETUP
virtual void computeIndicators()
virtual void postExecute()
Override this for actions that should take place after execution.
void initialSetup() override
Executioners are objects that do the actual work of solving your problem.
NonlinearSystemBase & getNonlinearSystemBase(const unsigned int sys_num)
MooseApp & _app
The MOOSE application this is associated with.
static InputParameters validParams()
bool containsTimeKernel()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
Constructor.
unsigned int getSteps() const
Pull out the number of steps previously set by calling init()
virtual void checkIntegrity()
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
virtual void execute() override
Pure virtual execute function MUST be overridden by children classes.
virtual void init() override
Initialize the executioner.
const ConsoleStream _console
An instance of helper class to write streams to the Console objects.
bool execMultiApps(ExecFlagType type, bool auto_advance=true)
Execute the MultiApps associated with the ExecFlagType.
Adaptivity & adaptivity()
bool isRecovering() const
Whether or not this is a "recover" calculation.
Steady(const InputParameters ¶meters)
const ExecFlagType EXEC_FINAL
std::unique_ptr< FixedPointSolve > _fixed_point_solve
virtual void outputStep(ExecFlagType type)
Output the current step.
const ExecFlagType EXEC_INITIAL