mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Updated error messages to use new FatalErrorInFunction
This commit is contained in:
@ -2453,7 +2453,8 @@ void Foam::meshRefinement::zonify
|
|||||||
label zoneID = mesh_.cellZones().findZoneID(name);
|
label zoneID = mesh_.cellZones().findZoneID(name);
|
||||||
if (zoneID == -1)
|
if (zoneID == -1)
|
||||||
{
|
{
|
||||||
FatalErrorIn("meshRefinement::zonify(..)") << "problem"
|
FatalErrorInFunction
|
||||||
|
<< "problem"
|
||||||
<< abort(FatalError);
|
<< abort(FatalError);
|
||||||
}
|
}
|
||||||
insidePointCellZoneIDs[i] = zoneID;
|
insidePointCellZoneIDs[i] = zoneID;
|
||||||
@ -2577,7 +2578,7 @@ void Foam::meshRefinement::zonify
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
FatalErrorIn("meshRefinement::getBafflePatches()")
|
FatalErrorInFunction
|
||||||
<< "problem" << exit(FatalError);
|
<< "problem" << exit(FatalError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -4217,7 +4218,7 @@ Foam::autoPtr<Foam::mapPolyMesh> Foam::meshRefinement::zonify
|
|||||||
{
|
{
|
||||||
if (locationsInMesh.size() != zonesInMesh.size())
|
if (locationsInMesh.size() != zonesInMesh.size())
|
||||||
{
|
{
|
||||||
FatalErrorIn("zonify(..)") << "problem" << abort(FatalError);
|
FatalErrorInFunction << "problem" << abort(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
const polyBoundaryMesh& patches = mesh_.boundaryMesh();
|
const polyBoundaryMesh& patches = mesh_.boundaryMesh();
|
||||||
|
|||||||
Reference in New Issue
Block a user