mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: move error trap to within debug scope
This commit is contained in:
@ -72,9 +72,12 @@ void Foam::LESModels::cubeRootVolDelta::calcDelta()
|
||||
}
|
||||
else
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "Case is not 3D or 2D, LES is not applicable"
|
||||
<< exit(FatalError);
|
||||
if (debug)
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "Case is not 3D or 2D, LES is not applicable"
|
||||
<< exit(FatalError);
|
||||
}
|
||||
}
|
||||
|
||||
// Handle coupled boundaries
|
||||
|
||||
Reference in New Issue
Block a user