diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.C b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.C index 6368d2accd863cc9d6965b94b0a826e6ef2bbbaa..22a04bff7b4a7c0a56c286f306d8c48c580d5c7d 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.C +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.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-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -125,17 +125,6 @@ Foam::linearUpwindV<Type>::correction sfCorr[facei] *= maxCorrs/(sfCorrs + VSMALL); } } - else if (sfCorrs < 0) - { - if (maxCorrs > 0) - { - sfCorr[facei] = vector::zero; - } - else if (sfCorrs < maxCorrs) - { - sfCorr[facei] *= maxCorrs/(sfCorrs - VSMALL); - } - } } @@ -203,17 +192,6 @@ Foam::linearUpwindV<Type>::correction pSfCorr[facei] *= maxCorrs/(pSfCorrs + VSMALL); } } - else if (pSfCorrs < 0) - { - if (maxCorrs > 0) - { - pSfCorr[facei] = vector::zero; - } - else if (pSfCorrs < maxCorrs) - { - pSfCorr[facei] *= maxCorrs/(pSfCorrs - VSMALL); - } - } } } } @@ -227,4 +205,5 @@ namespace Foam makelimitedSurfaceInterpolationTypeScheme(linearUpwindV, vector) } + // ************************************************************************* //