27 : _execute_enum(moose_object->parameters().isParamValid(
"execute_on")
28 ? moose_object->parameters().get<
ExecFlagEnum>(
"execute_on")
29 : _empty_execute_enum),
30 _current_execute_flag(
31 (moose_object->parameters().getCheckedPointerParam<
FEProblemBase *>(
"_fe_problem_base"))
32 ->getCurrentExecuteOnFlag())
38#ifdef MOOSE_KOKKOS_ENABLED
40 : _execute_enum(object._execute_enum), _current_execute_flag(object._current_execute_flag)
const ExecFlagType EXEC_LINEAR
A MultiMooseEnum object to hold "execute_on" flags.
std::string getDocString() const
Generate a documentation string for the "execute_on" parameter.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Every object that can be built by the factory should be derived from this class.
void clearSetValues()
Clear the MultiMooseEnum.
virtual void residualSetup()
Gets called just before the residual is computed and 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 void subdomainSetup()
Gets called when the subdomain changes (i.e.
const ExecFlagEnum & _execute_enum
Execute settings for this object.
static InputParameters validParams()
virtual void timestepSetup()
Gets called at the beginning of the timestep before this object is asked to do its job.
virtual void initialSetup()
Gets called at the beginning of the simulation before this object is asked to do its job.
const ExecFlagEnum & getExecuteOnEnum() const
Return the execute on MultiMooseEnum for this object.
ExecFlagEnum _empty_execute_enum
Empty ExecFlagEnum for the case when the "execute_on" parameter is not included.
SetupInterface(const MooseObject *moose_object)
virtual ~SetupInterface()
ExecFlagEnum getDefaultExecFlagEnum()