ENH: meshRefinement: extend test vectors for robustness.

17x indexedOctree was missing intersections which could lead to less refinement
This commit is contained in:
mattijs
2011-04-01 03:35:43 +01:00
parent 7d728f5c77
commit 646f9f8b4c
3 changed files with 14 additions and 14 deletions

View File

@ -629,8 +629,8 @@ Foam::label Foam::meshRefinement::markSurfaceRefinement
// Extend segments a bit
{
const vectorField smallVec(Foam::sqrt(SMALL)*(end-start));
start += smallVec;
end -= smallVec;
start -= smallVec;
end += smallVec;
}
@ -845,8 +845,8 @@ Foam::label Foam::meshRefinement::markSurfaceCurvatureRefinement
// Extend segments a bit
{
const vectorField smallVec(Foam::sqrt(SMALL)*(end-start));
start += smallVec;
end -= smallVec;
start -= smallVec;
end += smallVec;
}