Go to the documentation of this file.
131 virtual bool found(
const label
id)
const;
134 virtual bool set(
const label
id);
137 virtual bool unset(
const label
id);
147 virtual void invert(
const label maxLen);
A class for handling words, derived from Foam::string.
List< bool > bools(const labelHashSet &locations)
virtual void check(const label maxSize)
Check limits on addressable range.
virtual void invert(const label maxLen)
Invert contents.
const boolList & addressing() const
Return the boolList.
virtual void subtractSet(const topoSet &set)
Subtract elements present in set.
virtual void updateLabels(const labelUList &map)
Update map from map.
Mesh consisting of general polyhedral cells.
boolList & addressing()
Access the boolList.
void reset()
Set values to false, leaving the size untouched.
General set of labels of mesh quantity (points, cells, faces).
virtual bool set(const label id)
Set an index.
virtual label maxSize(const polyMesh &mesh) const =0
Return max allowable index (+1). Not implemented.
Base for a special purpose topoSet using labels stored as a boolList.
virtual ~topoBoolSet()=default
Destructor.
virtual bool found(const label id) const
Has the given index?
virtual void addSet(const topoSet &set)
Add elements present in set.
virtual bool unset(const label id)
Unset an index.
topoBoolSet(const polyMesh &mesh, const word &setName)
Construct with empty selection.
virtual void subset(const topoSet &set)
Subset contents. Only elements present in both sets remain.