17 #include "libmesh/equation_systems.h" 29 _problem(_fe_problem),
30 _system_time(getParam<
Real>(
"time")),
31 _time_step(_problem.timeStep()),
32 _time(_problem.time()),
33 _output_iteration_number(0)
43 _console <<
"\nCannot recover steady-state solves of type: " << this->
type()
62 #ifdef LIBMESH_ENABLE_AMR 66 for (
unsigned int r_step = 0; r_step <= steps; r_step++)
68 #endif // LIBMESH_ENABLE_AMR 75 _console <<
"Aborting as solve did not converge" << std::endl;
87 #ifdef LIBMESH_ENABLE_AMR 98 TIME_SECTION(
"final", 1,
"Executing Final Objects")
virtual void preExecute()
Override this for actions that should take place before execution.
void timestepSetup() override
bool _last_solve_converged
Flag showing if the last solve converged.
static InputParameters validParams()
virtual void postExecute()
Method called at the end of the simulation.
Real & _time
The current time.
virtual void computeMarkers()
int & _time_step
The time step index.
const ExecFlagType EXEC_TIMESTEP_END
virtual void advanceState()
Advance all of the state holding vectors / datastructures so that we can move to the next timestep...
Real _system_time
The system time.
virtual void execute(const ExecFlagType &exec_type)
Convenience function for performing execution of MOOSE systems.
static InputParameters validParams()
virtual void execute() override
Pure virtual execute function MUST be overridden by children classes.
virtual void computeIndicators()
virtual void postExecute()
Override this for actions that should take place after execution.
const std::string & type() const
Get the type of this class.
Executioners are objects that do the actual work of solving your problem.
MooseApp & _app
The MOOSE application this is associated with.
virtual bool lastSolveConverged() const override
Whether or not the last solve converged.
FEProblemBase & _problem
Just an alias for now.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
SteadyBase(const InputParameters ¶meters)
Constructor.
unsigned int getSteps() const
Pull out the number of steps previously set by calling init()
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.
const ExecFlagType EXEC_FINAL
std::unique_ptr< FixedPointSolve > _fixed_point_solve
virtual void outputStep(ExecFlagType type)
Output the current step.
const ExecFlagType EXEC_INITIAL