42 auto tcellZonesField = volFieldType::New
45 subsetter_.baseMesh(),
48 auto& cellZonesField = tcellZonesField.ref();
54 const labelList& cellMap = subsetter_.cellMap();
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 noexcept
Return dimensions.
Generic GeometricField class.
const word & name() const noexcept
Return the object name.
Generic dimensioned Type class.
A class for managing temporary objects.
List< label > labelList
A List of labels.
#define forAll(list, i)
Loop across all elements in list.
Forwards and collection of common volume field types.