Added ROOTSMALL

This commit is contained in:
Henry Weller
2015-09-02 15:29:54 +01:00
parent a159722136
commit 430d894e37
9 changed files with 16 additions and 12 deletions

View File

@ -967,7 +967,7 @@ Foam::label Foam::meshRefinement::markSurfaceRefinement
// Extend segments a bit
{
const vectorField smallVec(Foam::sqrt(SMALL)*(end-start));
const vectorField smallVec(ROOTSMALL*(end-start));
start -= smallVec;
end += smallVec;
}
@ -1161,7 +1161,7 @@ Foam::label Foam::meshRefinement::markSurfaceCurvatureRefinement
// Extend segments a bit
{
const vectorField smallVec(Foam::sqrt(SMALL)*(end-start));
const vectorField smallVec(ROOTSMALL*(end-start));
start -= smallVec;
end += smallVec;
}
@ -1764,7 +1764,7 @@ Foam::label Foam::meshRefinement::markProximityRefinement
// Extend segments a bit
{
const vectorField smallVec(Foam::sqrt(SMALL)*(end-start));
const vectorField smallVec(ROOTSMALL*(end-start));
start -= smallVec;
end += smallVec;
}