49 const bool & predicate,
50 const bool store_pred_as_value =
true)
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
The "SwapBackSentinel" class's destructor guarantees that FEProblemBase::swapBackMaterials{Face,...
~SwapBackSentinel()
The destructor calls swap back function only if the predicate is true.
static constexpr bool _always_true
void(FEProblemBase::*)(THREAD_ID) SwapBackFunction
SwapBackFunction is a typedef for a pointer to an FEProblemBase member function taking a THREAD_ID an...
SwapBackSentinel(FEProblemBase &fe_problem, SwapBackFunction func, THREAD_ID tid)
static constexpr bool _always_false
SwapBackSentinel(FEProblemBase &fe_problem, SwapBackFunction func, THREAD_ID tid, const bool &predicate, const bool store_pred_as_value=true)
Constructor taking an FEProblemBase reference, a function to call, and the THREAD_ID argument.
FEProblemBase & _fe_problem