mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: accept bitSet for MeshedSurface::subsetMesh
- add triSurface::subsetMesh single-parameter variant
This commit is contained in:
committed by
Andrew Heather
parent
4380349f45
commit
f1a48a3c2f
@ -177,18 +177,7 @@ void writeParts
|
||||
}
|
||||
}
|
||||
|
||||
labelList pointMap;
|
||||
labelList faceMap;
|
||||
|
||||
triSurface subSurf
|
||||
(
|
||||
surf.subsetMesh
|
||||
(
|
||||
includeMap,
|
||||
pointMap,
|
||||
faceMap
|
||||
)
|
||||
);
|
||||
triSurface subSurf(surf.subsetMesh(includeMap));
|
||||
|
||||
fileName subName
|
||||
(
|
||||
@ -483,17 +472,7 @@ int main(int argc, char *argv[])
|
||||
boolList isIllegalFace(surf.size(), false);
|
||||
UIndirectList<bool>(isIllegalFace, illegalFaces) = true;
|
||||
|
||||
labelList pointMap;
|
||||
labelList faceMap;
|
||||
triSurface subSurf
|
||||
(
|
||||
surf.subsetMesh
|
||||
(
|
||||
isIllegalFace,
|
||||
pointMap,
|
||||
faceMap
|
||||
)
|
||||
);
|
||||
triSurface subSurf(surf.subsetMesh(isIllegalFace));
|
||||
|
||||
|
||||
// Transcribe faces
|
||||
|
||||
Reference in New Issue
Block a user