Skip to content
Snippets Groups Projects
Commit adb83ad6 authored by mattijs's avatar mattijs Committed by Andrew Heather
Browse files

ENH: patchSet: wrong logic to compress points. See #1453.

parent 386cafd8
Branches
Tags
No related merge requests found
......@@ -138,8 +138,9 @@ void Foam::patchEdgeSet::genSamples()
origin_
);
if (nMerged == 0)
if (nMerged == samplingPts.size())
{
// Nothing merged
setSamples
(
samplingPts,
......
......@@ -94,8 +94,12 @@ Usage
\endtable
Note
The ordering of the points is according to the distance to the specified
- The ordering of the points is according to the distance to the specified
origin.
- Collocated points get merged if closer than SMALL (1e-15 in double prec).
(hardcoded). Collocated points can occur if patch points are exactly
on the sampling plane. Note that (in parallel) any point merging gets
done locally before sending to the master.
SourceFiles
patchEdgeSet.C
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment