mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: meshRefinement: extend test vectors for robustness.
17x indexedOctree was missing intersections which could lead to less refinement
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user