mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: PatchTools::gatherAndMerge with recovery of the globalIndex
- support globalIndex for points/faces as an output parameter, which allows reuse in subsequent field merge operations. - make pointMergeMap an optional parameter. This information is not always required. Eg, if only using gatherAndMerge to combine faces but without any point fields. ENH: make globalIndex() noexcept, add globalIndex::clear() method
This commit is contained in:
committed by
Andrew Heather
parent
70208a7399
commit
799d247142
@ -727,14 +727,12 @@ int main(int argc, char *argv[])
|
||||
|
||||
pointField mergedPoints;
|
||||
faceList mergedFaces;
|
||||
labelList pointMergeMap;
|
||||
PatchTools::gatherAndMerge
|
||||
(
|
||||
tolDim,
|
||||
primitivePatch(SubList<face>(isoFaces), isoPoints),
|
||||
mergedPoints,
|
||||
mergedFaces,
|
||||
pointMergeMap
|
||||
mergedFaces
|
||||
);
|
||||
|
||||
if (Pstream::master())
|
||||
|
||||
Reference in New Issue
Block a user