From e9c50822ab6d95315c4a435c3f7fc22d944bcdbf Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 31 Oct 2014 16:39:46 +0000 Subject: [PATCH] ENH: searchablePlate: clearer message --- src/meshTools/searchableSurface/searchablePlate.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/meshTools/searchableSurface/searchablePlate.C b/src/meshTools/searchableSurface/searchablePlate.C index 0ed10bd6..163f282c 100644 --- a/src/meshTools/searchableSurface/searchablePlate.C +++ b/src/meshTools/searchableSurface/searchablePlate.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -70,8 +70,8 @@ Foam::direction Foam::searchablePlate::calcNormal(const point& span) if (normalDir == 3) { FatalErrorIn("searchablePlate::calcNormal()") - << "Span should have one and only zero entry. Now:" << span - << exit(FatalError); + << "Span should have two positive and one zero entry. Now:" + << span << exit(FatalError); } return normalDir;