Go to the documentation of this file.
30 : _execute_enum(moose_object->parameters().isParamValid(
"execute_on")
31 ? moose_object->parameters().get<
ExecFlagEnum>(
"execute_on")
32 : _empty_execute_enum),
33 _exec_flags(_execute_enum.begin(), _execute_enum.end()),
34 _current_execute_flag(
35 (moose_object->parameters().getCheckedPointerParam<
FEProblemBase *>(
"_fe_problem_base"))
36 ->getCurrentExecuteOnFlag())
74 const std::vector<ExecFlagType> &
78 mooseDeprecated(
"The execFlags() method is being removed because MOOSE has been updated to use a "
79 "ExecFlagEnum for execute flags. The current flags should be retrieved from "
80 "the \"exeucte_on\" parameters of your object or by using the \"_execute_enum\" "
81 "reference to the parameter or the getExecuteOnEnum() method.");
90 mooseDeprecated(
"The execBitFlags method is being removed because MOOSE was updated to use a "
91 "ExecFlagEnum for execute flags. This method maintains the behavior of the "
92 "original method but the use of this method should be removed from your "
93 "application. The ExecFlagEnum should be inspected directly via the "
94 "getExecuteOnEnum() method.");
98 exec_bit_field |= flag.
id();
106 ::mooseDeprecated(
"The 'getExecuteOptions' was replaced by the ExecFlagEnum class because MOOSE "
107 "was updated to use this for the execute flags and the new function provides "
108 "additional arguments for modification of the enum.");
virtual void subdomainSetup()
Gets called when the subdomain changes (i.e.
defineLegacyParams(SetupInterface)
static InputParameters validParams()
const int & id() const
Return the numeric, name, or raw name.
const ExecFlagType EXEC_LINEAR
const ExecFlagType EXEC_NONE
Every object that can be built by the factory should be derived from this class.
virtual const std::vector< ExecFlagType > & execFlags() const
(DEPRECATED) Get the execution flag for the object TODO: ExecFlagType
const ExecFlagEnum & getExecuteOnEnum() const
Return the execute on MultiMooseEnum for this object.
virtual void timestepSetup()
Gets called at the beginning of the timestep before this object is asked to do its job.
virtual void jacobianSetup()
Gets called just before the Jacobian is computed and before this object is asked to do its job.
virtual ~SetupInterface()
virtual void residualSetup()
Gets called just before the residual is computed and before this object is asked to do its job.
void mooseDeprecated(Args &&... args)
Emit a deprecated code/feature message with the given stringified, concatenated args.
Class for containing MooseEnum item information.
const std::vector< ExecFlagType > _exec_flags
(DEPRECATED) execution flag (when is the object executed/evaluated) TODO: ExecFlagType
SetupInterface(const MooseObject *moose_object)
static ExecFlagEnum getExecuteOptions()
(DEPRECATED) Returns the available options for the 'execute_on' input parameters TODO: ExecFlagType
ExecFlagType execBitFlags() const
(DEPRECATED) Build and return the execution flags as a bitfield TODO: ExecFlagType
ExecFlagEnum _empty_execute_enum
Empty ExecFlagEnum for the case when the "execute_on" parameter is not included.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
A MultiMooseEnum object to hold "execute_on" flags.
virtual void initialSetup()
Gets called at the beginning of the simulation before this object is asked to do its job.
void clear()
Clear the MultiMooseEnum.
MooseEnumItem ExecFlagType
ExecFlagEnum getDefaultExecFlagEnum()
Return the default ExecFlagEnum for MOOSE.
const ExecFlagEnum & _execute_enum
Execute settings for this oejct.
std::string getDocString() const
Generate a documentation string for the "execute_on" parameter.