mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated Info, Warning and Error messages
This commit is contained in:
@ -71,7 +71,7 @@ scalar calcVertexNormalWeight
|
||||
|
||||
if (index == -1)
|
||||
{
|
||||
FatalErrorIn("calcVertexNormals()")
|
||||
FatalErrorInFunction
|
||||
<< "Point not in face" << abort(FatalError);
|
||||
}
|
||||
|
||||
@ -199,7 +199,8 @@ tmp<vectorField> calcPointNormals
|
||||
{
|
||||
if (mag(mag(pointNormals[pointI])-1) > SMALL)
|
||||
{
|
||||
FatalErrorIn("calcPointNormals()") << "unitialised"
|
||||
FatalErrorInFunction
|
||||
<< "unitialised"
|
||||
<< exit(FatalError);
|
||||
}
|
||||
}
|
||||
@ -626,7 +627,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (extendFactor < 1 || extendFactor > 10)
|
||||
{
|
||||
FatalErrorIn(args.executable())
|
||||
FatalErrorInFunction
|
||||
<< "Illegal safety factor " << extendFactor
|
||||
<< ". It is usually 1..2"
|
||||
<< exit(FatalError);
|
||||
|
||||
Reference in New Issue
Block a user