Change FatalErrorInFunction

This commit is contained in:
Hrvoje Jasak 2019-09-09 19:05:04 +01:00
parent 590f3ca7fd
commit 874a994a5d

View file

@ -366,7 +366,7 @@ void Foam::mapDistribute::distribute
}
else
{
FatalErrorIn("mapDistribute::distribute(..)")
FatalErrorInFunction
<< "Unknown communication schedule "
<< Pstream::commsTypeNames[commsType]
<< abort(FatalError);
@ -708,7 +708,7 @@ void Foam::mapDistribute::distribute
}
else
{
FatalErrorIn("mapDistribute::distribute(..)")
FatalErrorInFunction
<< "Unknown communication schedule " << commsType
<< abort(FatalError);
}