24 "Control the enabled/disabled state of objects with user-provided analysis steps.");
26 "set_sync_times",
true,
"Set the start and end time as execute sync times.");
28 "analysis_step_user_object",
29 "The AnalysisStepUserObject that provides times from analysis steps.");
31 "Step number on which this control object applies.");
48 _step_user_object = &getUserObject<AnalysisStepUserObject>(
"analysis_step_user_object");
62 if (getParam<bool>(
"set_sync_times"))
Real getEndTime(const unsigned int &step) const
static InputParameters validParams()
Class constructor.
virtual const std::string & name() const
AnalysisStepPeriod(const InputParameters ¶meters)
static InputParameters validParams()
Real getStartTime(const unsigned int &step) const
void initialSetup() override
If enabled, this injects the start/end times into the TimeStepper sync times.
virtual bool conditionMet(const unsigned int &i) override
FEProblemBase & _fe_problem
bool absoluteFuzzyLessThan(const T &var1, const T2 &var2, const T3 &tol=libMesh::TOLERANCE *libMesh::TOLERANCE)
virtual void getAnalysisStepUserObject(const FEProblemBase &fe_problem, const AnalysisStepUserObject *&step_user_object, const std::string &name)
std::vector< Real > _start_time
bool isParamSetByUser(const std::string &nm) const
A basic control for disabling objects for a portion of the simulation based on the analysis step conc...
bool absoluteFuzzyGreaterEqual(const T &var1, const T2 &var2, const T3 &tol=libMesh::TOLERANCE *libMesh::TOLERANCE)
const AnalysisStepUserObject * _step_user_object
registerMooseObject("SolidMechanicsApp", AnalysisStepPeriod)
std::set< Real > & getSyncTimes()
OutputWarehouse & getOutputWarehouse()
std::vector< Real > _end_time