35 "The fixed point algorithm to converge the sequence of problems.");
37 params.
addParam<
bool>(
"verbose",
false,
"Set to true to print additional information");
42 "File base name used for restart",
43 "Please use \"Problem/restart_file_base\" instead");
68 "_fe_problem_base",
"This might happen if you don't have a mesh")),
69 _iteration_method(getParam<
MooseEnum>(
"fixed_point_algorithm")),
70 _restart_file_base(getParam<FileNameNoExtension>(
"restart_file_base")),
71 _verbose(getParam<bool>(
"verbose"))
80 mooseInfo(
"This Executioner does not support --test-restep; solve will behave as normal");
100 "_fe_problem_base",
"This might happen if you don't have a mesh")),
101 _iteration_method(getParam<
MooseEnum>(
"fixed_point_algorithm")),
102 _restart_file_base(getParam<FileNameNoExtension>(
"restart_file_base")),
103 _verbose(getParam<bool>(
"verbose"))
108 if (!getParam<bool>(
"_supports_test_restep") &&
_app.
testReStep())
109 mooseInfo(
"This Executioner does not support --test-restep; solve will behave as normal");
115 mooseDoOnce(
mooseWarning(
"This method is deprecated, use feProblem() instead"));
133 getReporterValueByName<PostprocessorValue>(r_name, 1);
134 getReporterValueByName<PostprocessorValue>(r_name, 2);
Real PostprocessorValue
various MOOSE typedefs
Number initial_value(const Point &, const Parameters &, const std::string &, const std::string &)
Executioner(const InputParameters ¶meters)
Constructor.
static InputParameters validParams()
virtual Problem & problem()
Deprecated: Return a reference to this Executioner's Problem instance.
FEProblemBase & _fe_problem
virtual PostprocessorValue & addAttributeReporter(const std::string &name, Real initial_value=0)
Adds a postprocessor that the executioner can directly assign values to.
static MooseEnum iterationMethods()
Return supported iteration methods that can work with MultiApps on timestep_begin and timestep_end.
std::unique_ptr< FixedPointSolve > _fixed_point_solve
std::string _restart_file_base
MooseEnum _iteration_method
FEProblemBase & feProblem()
Return a reference to this Executioner's FEProblemBase instance.
const bool & _verbose
True if printing out additional information.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
virtual std::size_t numNonlinearSystems() const override
void setRestartFile(const std::string &file_name)
Communicate to the Resurector the name of the restart filer.
NonlinearSystemBase & getNonlinearSystemBase(const unsigned int sys_num)
static InputParameters validParams()
bool testReStep() const
Whether or not this simulation should fail a timestep and repeat (for testing).
const std::string & name() const
Get the name of the class.
void mooseInfo(Args &&... args) const
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Every object that can be built by the factory should be derived from this class.
static InputParameters validParams()
MooseApp & _app
The MOOSE application this is associated with.
Interface for objects interacting with the PerfGraph.
Interface class for classes which interact with Postprocessors.
Class that hold the whole problem being solved.
Interface to allow object to consume Reporter values.
static InputParameters validParams()
The Reporter system is comprised of objects that can contain any number of data values.
Reporter objects allow for the declaration of arbitrary data types that are aggregate values for a si...
static InputParameters validParams()
A class for creating restricted objects.
void mooseWarning(Args &&... args) const
void setVerboseFlag(const bool &verbose)
Sets the verbose flag.
Interface for objects that need to use UserObjects.