67 setName_(
dict.lookupBackwardsCompatible<
word>({
"set",
"faceSet"})),
86 if (!isA<faceZoneSet>(set))
89 <<
"Operation only allowed on a faceZoneSet." <<
endl;
97 Info<<
" Adding all faces from faceSet " << setName_
107 const faceList& faces = mesh_.faces();
112 label facei = iter.key();
114 if (!fzSet.
found(facei))
116 newAddressing.
append(facei);
119 if ((a & normal_) > 0)
136 Info<<
" Removing all faces from faceSet " << setName_
140 faceSet loadedSet(mesh_, setName_);
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Macros for easy insertion into run-time selection tables.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
bool found(const Key &) const
Return true if hashedEntry is found in table.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
void size(const label)
Override size to be inconsistent with allocated storage.
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Like faceSet but -reads data from faceZone -updates faceZone when writing.
const boolList & flipMap() const
const labelList & addressing() const
void updateSet()
Sort addressing and make faceSet part consistent with addressing.
Mesh consisting of general polyhedral cells.
A topoSetSource to select faces based on usage in a faceSet, where the normal vector is used to orien...
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
setAndNormalToFaceZone(const polyMesh &mesh, const word &setName, const vector &normal)
Construct from components.
virtual ~setAndNormalToFaceZone()
Destructor.
Base class of a source for a topoSet.
setAction
Enumeration defining the valid actions.
General set of labels of mesh quantity (points, cells, faces).
A class for handling words, derived from string.
#define WarningInFunction
Report a warning using Foam::Warning.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet dimless
defineTypeNameAndDebug(combustionModel, 0)