mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Completed update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the function signature string.
This commit is contained in:
@ -49,14 +49,8 @@ Foam::patchInjectionBase::patchInjectionBase
|
||||
{
|
||||
if (patchId_ < 0)
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"patchInjectionBase::patchInjectionBase"
|
||||
"("
|
||||
"const polyMesh& mesh, "
|
||||
"const word& patchName"
|
||||
")"
|
||||
) << "Requested patch " << patchName_ << " not found" << nl
|
||||
FatalErrorInFunction
|
||||
<< "Requested patch " << patchName_ << " not found" << nl
|
||||
<< "Available patches are: " << mesh.boundaryMesh().names() << nl
|
||||
<< exit(FatalError);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user