49 if (zonesOrientedIndices.size() != zones.
size())
52 <<
"zonesOrientedIndices.size() " << zonesOrientedIndices.size()
53 <<
" != number of zones " << zones.
size()
57 forAll(zonesOrientedIndices, zonei)
59 if (zonesOrientedIndices[zonei].size())
61 zones[zonei].insert(zonesOrientedIndices[zonei]);
71 if (zonesIndices.
size() != zones.
size())
74 <<
"zonesIndices.size() " << zonesIndices.
size()
75 <<
" != number of zones " << zones.
size()
79 forAll(zonesIndices, zonei)
81 if (zonesIndices[zonei].size())
83 zones[zonei].insert(zonesIndices[zonei]);
#define forAll(list, i)
Loop across all elements in list.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label)
Override size to be inconsistent with allocated storage.
A HashTable to objects of type <T> with a label key.
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.
const polyMesh & mesh() const
Return the mesh reference.
void insert(const List< Map< bool >> &zonesOrientedIndices)
Insert given oriented indices.
label allSize() const
Return number of faces in the mesh.
#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)