Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
a9645157
Commit
a9645157
authored
Dec 08, 2010
by
mattijs
Browse files
BUG: sampledSet : force calculation of min-tet-decomposition before tracking
parent
da109eed
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/sampling/sampledSet/face/faceOnlySet.C
View file @
a9645157
...
...
@@ -118,6 +118,8 @@ void Foam::faceOnlySet::calcSamples
const
vector
smallVec
=
tol
*
offset
;
const
scalar
smallDist
=
mag
(
smallVec
);
// Force calculation of minimum-tet decomposition.
(
void
)
mesh
().
tetBasePtIs
();
// Get all boundary intersections
List
<
pointIndexHit
>
bHits
=
searchEngine
().
intersections
...
...
src/sampling/sampledSet/polyLine/polyLineSet.C
View file @
a9645157
...
...
@@ -159,6 +159,9 @@ void Foam::polyLineSet::calcSamples
oldPoint
=
sampleCoords_
[
sampleI
];
}
// Force calculation of minimum-tet decomposition.
(
void
)
mesh
().
tetBasePtIs
();
// current segment number
label
segmentI
=
0
;
...
...
src/sampling/sampledSet/uniform/uniformSet.C
View file @
a9645157
...
...
@@ -236,6 +236,9 @@ void Foam::uniformSet::calcSamples
const
vector
smallVec
=
tol
*
offset
;
const
scalar
smallDist
=
mag
(
smallVec
);
// Force calculation of minimum-tet decomposition.
(
void
)
mesh
().
tetBasePtIs
();
// Get all boundary intersections
List
<
pointIndexHit
>
bHits
=
searchEngine
().
intersections
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment