Experimenting with least square vector correction: off
This commit is contained in:
parent
7d149ebb2d
commit
b3c099be07
1 changed files with 9 additions and 7 deletions
|
@ -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() :"
|
||||
|
|
Reference in a new issue