From 874a994a5dae399e1a801dd846caba226b082618 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 9 Sep 2019 19:05:04 +0100 Subject: [PATCH] Change FatalErrorInFunction --- .../mapPolyMesh/mapDistribute/mapDistributeTemplates.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }