- old 'DELETE' enum was easily confused with 'REMOVE', which removes the set, not the elements from the set. - provide corresponding subtractSet() method STYLE: HashSet set/unset instead of insert/erase methods in topoSetSource - simplifies switching to/from bitSet storage
36 lines
1.2 KiB
C++
36 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1806 |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object faceSetDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// Name of set to operate on
|
|
name facesToBeRemoved;
|
|
|
|
// One of (add | subtract | subset | clear | new | invert | list)
|
|
action new;
|
|
|
|
// Actions to apply to pointSet. These are all the topoSetSource's ending
|
|
// in ..ToFace (see the meshTools library).
|
|
topoSetSources
|
|
(
|
|
// Select by explicitly providing face labels
|
|
labelToFace
|
|
{
|
|
value #include "../facesToBeRemoved";
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|