ENH: searchablePlate: clearer message

This commit is contained in:
mattijs
2014-10-31 16:39:46 +00:00
committed by Andrew Heather
parent 3ca8e59d87
commit 5cdaf0fdab

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -70,8 +70,8 @@ Foam::direction Foam::searchablePlate::calcNormal(const point& span)
if (normalDir == 3) if (normalDir == 3)
{ {
FatalErrorIn("searchablePlate::calcNormal()") FatalErrorIn("searchablePlate::calcNormal()")
<< "Span should have one and only zero entry. Now:" << span << "Span should have two positive and one zero entry. Now:"
<< exit(FatalError); << span << exit(FatalError);
} }
return normalDir; return normalDir;