Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Namespaces | Functions
moose Namespace Reference

Namespaces

 internal
 

Functions

void translateMetaPhysicLError (const MetaPhysicL::LogicError &)
 emit a relatively clear error message when we catch a MetaPhysicL logic error More...
 

Function Documentation

◆ translateMetaPhysicLError()

void moose::translateMetaPhysicLError ( const MetaPhysicL::LogicError &  )

emit a relatively clear error message when we catch a MetaPhysicL logic error

Definition at line 112 of file MooseError.C.

Referenced by AuxiliarySystem::computeMortarNodalVars(), FEProblemBase::handleException(), ComputeJacobianForScalingThread::operator()(), ThreadedElementLoopBase< ConstElemPointerRange >::operator()(), ComputeMortarFunctor::operator()(), and ThreadedFaceLoop< RangeType >::operator()().

113 {
114  mooseError(
115  "We caught a MetaPhysicL error in while performing element or face loops. This is "
116  "potentially due to AD not having a sufficiently large derivative container size. To "
117  "increase the AD container size, you can run configure in the MOOSE root directory with the "
118  "'--with-derivative-size=<n>' option and then recompile. Other causes of MetaPhysicL logic "
119  "errors include evaluating functions where they are not defined or differentiable like sqrt "
120  "(which gets called for vector norm functions) or log with arguments <= 0");
121 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:302