61 if (zonesIndices.size() != zones.
size())
64 <<
"zonesIndices.size() " << zonesIndices.size()
65 <<
" != number of zones " << zones.
size()
69 forAll(zonesIndices, zonei)
71 zones[zonei].insert(zonesIndices[zonei]);
#define forAll(list, i)
Loop across all elements in list.
void size(const label)
Override size to be inconsistent with allocated storage.
A HashTable to objects of type <T> with a label key.
const T & operator[](const word &key) const
Find and return entry.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
label size() const
Return the number of elements in the UPtrList.
labelList whichZones(const label objectIndex) const
Given a global object index, return the list of zones it is in.
label localIndex(const label globalIndex) const
Map storing the local index for every global index. Used to find.
void insert(const List< Map< bool >> &zonesIndices)
Insert given indices and corresponding face flips into zones.
boolList zonesFlipFace(const label facei, const labelList &faceiZones)
Return the list of flips for the facei.
A subset of mesh faces organised as a primitive patch.
const boolList & flipMap() const
Return face flip map.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
defineTypeNameAndDebug(combustionModel, 0)