mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: polyBoundaryMesh: improved error message
This commit is contained in:
@ -514,7 +514,8 @@ Foam::label Foam::polyBoundaryMesh::whichPatch(const label faceIndex) const
|
|||||||
FatalErrorIn
|
FatalErrorIn
|
||||||
(
|
(
|
||||||
"polyBoundaryMesh::whichPatch(const label faceIndex) const"
|
"polyBoundaryMesh::whichPatch(const label faceIndex) const"
|
||||||
) << "given label greater than the number of geometric faces"
|
) << "given label " << faceIndex
|
||||||
|
<< " greater than the number of geometric faces " << mesh().nFaces()
|
||||||
<< abort(FatalError);
|
<< abort(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user