bug fix: optimisation switch use
This commit is contained in:
parent
4019296d15
commit
ad6bce6a29
1 changed files with 2 additions and 2 deletions
|
@ -262,7 +262,7 @@ void Foam::leastSquaresVectors::makeLeastSquaresVectors() const
|
|||
if
|
||||
(
|
||||
(lsPIn[faceI] & SfIn[faceI])/(mag(lsPIn[faceI])*mag(SfIn[faceI]))
|
||||
< smallDotProdTol_
|
||||
< smallDotProdTol_()
|
||||
)
|
||||
{
|
||||
// Least square points in the wrong direction for owner
|
||||
|
@ -273,7 +273,7 @@ void Foam::leastSquaresVectors::makeLeastSquaresVectors() const
|
|||
if
|
||||
(
|
||||
(lsNIn[faceI] & SfIn[faceI])/(mag(lsNIn[faceI])*mag(SfIn[faceI]))
|
||||
> -smallDotProdTol_
|
||||
> -smallDotProdTol_()
|
||||
)
|
||||
{
|
||||
// Least square points in the wrong direction for owner.
|
||||
|
|
Reference in a new issue