diff --git a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C index 031fa9ebe..dd1ad92b2 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C +++ b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C @@ -30,7 +30,11 @@ License // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // -// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // +namespace Foam +{ + defineTypeNameAndDebug(leastSquaresVectors, 0); +} + const Foam::scalar Foam::leastSquaresVectors::smallDotProdTol_ ( @@ -38,12 +42,6 @@ const Foam::scalar Foam::leastSquaresVectors::smallDotProdTol_ ); -namespace Foam -{ - defineTypeNameAndDebug(leastSquaresVectors, 0); -} - - // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // Foam::leastSquaresVectors::leastSquaresVectors(const fvMesh& mesh) @@ -221,6 +219,8 @@ void Foam::leastSquaresVectors::makeLeastSquaresVectors() const } } +# if 0 + // Coefficient sign correction on least squares vectors // The sign of the coefficient must be positive to ensure correct // behaviour in coupled systems. This is checked by evaluating @@ -406,6 +406,8 @@ void Foam::leastSquaresVectors::makeLeastSquaresVectors() const } } +#endif + if (debug) { Info<< "leastSquaresVectors::makeLeastSquaresVectors() :"