14 : _fe_problem(fe_problem)
20 : _fe_problem(x._fe_problem)
31 std::string what(e.
what());
41 for (
auto it = range.begin(); it != range.end(); ++it)
63 console <<
"[DBG] Executing Threaded General User Object " << (*range.begin())->
name() <<
" on " 64 << execute_on << std::endl;
std::string name(const ElemQuality q)
virtual const char * what() const
Get out the error message.
FEProblemBase & _fe_problem
FEProblem running this thread.
const ExecFlagType & getCurrentExecuteOnFlag() const
Return/set the current execution flag.
virtual void setException(const std::string &message)
Set an exception, which is stored at this point by toggling a member variable in this class...
virtual void caughtMooseException(MooseException &)
Called if a MooseException is caught anywhere during the computation.
void printGeneralExecutionInformation(const GeneralUserObjectRange &range) const
Print information about the loop, mostly order of execution of objects.
Thread to compute threaded general user objects.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
bool shouldPrintExecution(const THREAD_ID tid) const
Check whether the problem should output execution orders at this time.
static Threads::spin_mutex threaded_general_user_objects_mutex
This mutex is used to protect the creation of the strings used in the propogation of the error messag...
StoredRange< std::vector< GeneralUserObject * >::iterator, GeneralUserObject * > GeneralUserObjectRange
virtual ~ComputeThreadedGeneralUserObjectsThread()
Provides a way for users to bail out of the current solve.
const ConsoleStream & console() const
Return console handle.
void operator()(const GeneralUserObjectRange &range)
ComputeThreadedGeneralUserObjectsThread(FEProblemBase &fe_problem)