diff --git a/src/foam/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributeTemplates.C b/src/foam/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributeTemplates.C index 33d574721..34271b9d0 100644 --- a/src/foam/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributeTemplates.C +++ b/src/foam/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributeTemplates.C @@ -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); }