Skip to content

Commit

Permalink
ENH: searchablePlate: clearer message
Browse files Browse the repository at this point in the history
  • Loading branch information
mattijs committed Oct 31, 2014
1 parent 55f669e commit e9c5082
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/meshTools/searchableSurface/searchablePlate.C
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit e9c5082

Please sign in to comment.