18 : _si_moose_object(*moose_object),
20 *_si_moose_object.parameters().getCheckedPointerParam<
FEProblemBase *>(
"_fe_problem_base"))
25 template <
bool warning>
32 "Inconsistent warning flag");
34 if constexpr (!warning)
36 solution_invalidity.
printDebug(invalid_solution_id);
37 return solution_invalidity.flagInvalidSolutionInternal(invalid_solution_id);
42 const bool warning)
const 48 template void SolutionInvalidInterface::flagInvalidSolutionInternal<true>(
50 template void SolutionInvalidInterface::flagInvalidSolutionInternal<false>(
unsigned int InvalidSolutionID
FEProblemBase & _si_problem
A reference to FEProblem base.
void printDebug(InvalidSolutionID _invalid_solution_id) const
Immediately print the section and message for debug purpose.
InvalidSolutionID registerInvalidity(const std::string &object_type, const std::string &message, const bool warning)
Call to register an invalid calculation.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
MooseApp & getMooseApp() const
Get the MooseApp this class is associated with.
InvalidSolutionID registerInvalidSolutionInternal(const std::string &message, const bool warning) const
Every object that can be built by the factory should be derived from this class.
SolutionInvalidity & solutionInvalidity()
Get the SolutionInvalidity for this app.
const std::string & type() const
Get the type of this class.
SolutionInvalidityRegistry & getSolutionInvalidityRegistry()
Get the global SolutionInvalidityRegistry singleton.
void flagInvalidSolutionInternal(const InvalidSolutionID invalid_solution_id) const
Set solution invalid mark for the given solution ID.
MooseObject & _si_moose_object
The MooseObject that owns this interface.
SolutionInvalidInterface(MooseObject *const moose_object)
bool immediatelyPrintInvalidSolution() const
Whether or not the solution invalid warnings are printed out immediately.