42 auto tcellZonesField = volFieldType::New
48 auto& cellZonesField = tcellZonesField.ref();
58 const label celli = cellMap[subCelli];
60 if (!haloCells_.
test(celli))
62 cellZonesField[celli] = subVolField[subCelli];
66 return tcellZonesField;
tmp< GeometricField< Type, fvPatchField, volMesh > > mapToZone(const GeometricField< Type, fvPatchField, volMesh > &subVolField) const
Map from the sub-mesh to original cell zones.
const dimensionSet & dimensions() const
Return dimensions.
Generic GeometricField class.
const word & name() const noexcept
Return the object name.
bool test(const label pos) const
Test value at specified position, never auto-vivify entries.
Generic dimensioned Type class.
const fvMesh & baseMesh() const noexcept
Original mesh.
const labelList & cellMap() const
Return cell map.
A class for managing temporary objects.
#define forAll(list, i)
Loop across all elements in list.