Go to the documentation of this file.
42 label newElemI = oldToNew[elemI];
46 lst[newElemI] = oldLst[elemI];
64 label newElemI = oldToNew[elemI];
68 lst[newElemI].
transfer(oldLst[elemI]);
81 Map<T> newElems(elems.size());
85 label newElem = oldToNew[iter.key()];
89 newElems.insert(newElem, iter());
93 elems.transfer(newElems);
#define forAll(list, i)
Loop across all elements in list.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static void reorder(const labelList &map, DynamicList< T > &)
Reorder contents of container according to map.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void transfer(List< T > &)
Transfer contents of the argument List into this.
static void renumberKey(const labelList &map, Map< T > &)