ENH: searchablePlate: clearer message
This commit is contained in:
parent
55f669e302
commit
e9c50822ab
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue