mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: sampledSet : force calculation of min-tet-decomposition before tracking
This commit is contained in:
@ -118,6 +118,8 @@ void Foam::faceOnlySet::calcSamples
|
|||||||
const vector smallVec = tol*offset;
|
const vector smallVec = tol*offset;
|
||||||
const scalar smallDist = mag(smallVec);
|
const scalar smallDist = mag(smallVec);
|
||||||
|
|
||||||
|
// Force calculation of minimum-tet decomposition.
|
||||||
|
(void) mesh().tetBasePtIs();
|
||||||
|
|
||||||
// Get all boundary intersections
|
// Get all boundary intersections
|
||||||
List<pointIndexHit> bHits = searchEngine().intersections
|
List<pointIndexHit> bHits = searchEngine().intersections
|
||||||
|
|||||||
@ -159,6 +159,9 @@ void Foam::polyLineSet::calcSamples
|
|||||||
oldPoint = sampleCoords_[sampleI];
|
oldPoint = sampleCoords_[sampleI];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Force calculation of minimum-tet decomposition.
|
||||||
|
(void) mesh().tetBasePtIs();
|
||||||
|
|
||||||
// current segment number
|
// current segment number
|
||||||
label segmentI = 0;
|
label segmentI = 0;
|
||||||
|
|
||||||
|
|||||||
@ -236,6 +236,9 @@ void Foam::uniformSet::calcSamples
|
|||||||
const vector smallVec = tol*offset;
|
const vector smallVec = tol*offset;
|
||||||
const scalar smallDist = mag(smallVec);
|
const scalar smallDist = mag(smallVec);
|
||||||
|
|
||||||
|
// Force calculation of minimum-tet decomposition.
|
||||||
|
(void) mesh().tetBasePtIs();
|
||||||
|
|
||||||
// Get all boundary intersections
|
// Get all boundary intersections
|
||||||
List<pointIndexHit> bHits = searchEngine().intersections
|
List<pointIndexHit> bHits = searchEngine().intersections
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user