17#include "libmesh/equation_systems.h"
23 params.
addParam<Real>(
"time", 0.0,
"System time");
29 _problem(_fe_problem),
30 _system_time(getParam<Real>(
"time")),
31 _time_step(_problem.timeStep()),
33 _output_iteration_number(0)
42 _console <<
"\nCannot recover steady-state solves of type: " << this->
type()
61#ifdef LIBMESH_ENABLE_AMR
65 for (
unsigned int r_step = 0; r_step <= steps; r_step++)
74 _console <<
"Aborting as solve did not converge" << std::endl;
86#ifdef LIBMESH_ENABLE_AMR
97 TIME_SECTION(
"final", 1,
"Executing Final Objects")
const ExecFlagType EXEC_TIMESTEP_END
const ExecFlagType EXEC_INITIAL
const ExecFlagType EXEC_FINAL
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.
Executioners are objects that do the actual work of solving your problem.
static InputParameters validParams()
virtual void preExecute()
Override this for actions that should take place before execution.
virtual void postExecute()
Override this for actions that should take place after execution.
std::unique_ptr< FixedPointSolve > _fixed_point_solve
virtual void advanceState()
Advance all of the state holding vectors / datastructures so that we can move to the next timestep.
virtual void postExecute()
Method called at the end of the simulation.
bool execMultiApps(ExecFlagType type, bool auto_advance=true)
Execute the MultiApps associated with the ExecFlagType.
void timestepSetup() override
virtual void computeIndicators()
virtual void execute(const ExecFlagType &exec_type)
Convenience function for performing execution of MOOSE systems.
virtual Real & time() const
Adaptivity & adaptivity()
virtual void computeMarkers()
virtual void outputStep(ExecFlagType type)
Output the current step.
bool isRecovering() const
Whether or not this is a "recover" calculation.
const std::string & type() const
Get the type of this class.
MooseApp & _app
The MOOSE application this is associated with.
Real & _time
The current time.
virtual bool lastSolveConverged() const override
Whether or not the last solve converged.
Real _system_time
The system time.
bool _last_solve_converged
Flag showing if the last solve converged.
virtual void execute() override
Pure virtual execute function MUST be overridden by children classes.
static InputParameters validParams()
int & _time_step
The time step index.
SteadyBase(const InputParameters ¶meters)
Constructor.
FEProblemBase & _problem
Just an alias for now.