17 const std::string &
name)
19 std::vector<const UserObject *> uos;
22 std::vector<const AnalysisStepUserObject *> step_uos;
23 for (
const auto & uo : uos)
28 step_uos.push_back(possible_step_uo);
31 if (step_uos.size() > 1)
32 mooseError(
"Your input file has multiple AnalysisStepUserObjects. MOOSE currently only support " 36 else if (step_uos.size() == 1)
37 mooseInfo(
"A AnalysisStepUserObject, has been identified and will be used to drive stepping " 42 step_user_object = step_uos.size() == 1 ? step_uos[0] :
nullptr;
void mooseError(Args &&... args)
void mooseInfo(Args &&... args)
TheWarehouse & theWarehouse() const
virtual void getAnalysisStepUserObject(const FEProblemBase &fe_problem, const AnalysisStepUserObject *&step_user_object, const std::string &name)
User object that provides analysis steps given user input.