From ba64ca8a5bc4d1ba429c159ba0c6b6ee6c21beb2 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Thu, 26 Jul 2018 11:50:47 +0100 Subject: [PATCH] ENH: localPointRegion: improved error message --- src/meshTools/regionSplit/localPointRegion.C | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/meshTools/regionSplit/localPointRegion.C b/src/meshTools/regionSplit/localPointRegion.C index c0b05d90810..c2ba3e5314d 100644 --- a/src/meshTools/regionSplit/localPointRegion.C +++ b/src/meshTools/regionSplit/localPointRegion.C @@ -574,7 +574,8 @@ Foam::labelList Foam::localPointRegion::findDuplicateFaces { FatalErrorInFunction << "Face:" << bFacei + mesh.nInternalFaces() - << " has local points:" << f + << " has local points:" << f << " at:" + << UIndirectList<point>(allPatch.localPoints(), f) << " which are in same order as face:" << otherFacei + mesh.nInternalFaces() << " with local points:" << otherF @@ -597,7 +598,8 @@ Foam::labelList Foam::localPointRegion::findDuplicateFaces << "This means that three or more faces share" << " the same points and this is illegal." << nl << "Face:" << meshFace0 - << " with local points:" << f + << " with local points:" << f << " at:" + << UIndirectList<point>(allPatch.localPoints(), f) << " which are in same order as face:" << meshFace1 << " with local points:" << otherF -- GitLab