mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: changed fatal error to warn message on debug > 1
This commit is contained in:
@ -202,9 +202,12 @@ void Foam::lduMatrix::operator+=(const lduMatrix& A)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
FatalErrorIn("lduMatrix::operator+=(const lduMatrix& A)")
|
if (debug > 1)
|
||||||
|
{
|
||||||
|
WarningIn("lduMatrix::operator+=(const lduMatrix& A)")
|
||||||
<< "Unknown matrix type combination"
|
<< "Unknown matrix type combination"
|
||||||
<< abort(FatalError);
|
<< endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -270,9 +273,12 @@ void Foam::lduMatrix::operator-=(const lduMatrix& A)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
FatalErrorIn("lduMatrix::operator-=(const lduMatrix& A)")
|
if (debug > 1)
|
||||||
|
{
|
||||||
|
WarningIn("lduMatrix::operator-=(const lduMatrix& A)")
|
||||||
<< "Unknown matrix type combination"
|
<< "Unknown matrix type combination"
|
||||||
<< abort(FatalError);
|
<< endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user