65#ifndef Foam_zoneSubSet_H
66#define Foam_zoneSubSet_H
86 fvMeshSubset subsetter_;
104 zoneSubSet(
const zoneSubSet&) =
delete;
107 void operator=(
const zoneSubSet&) =
delete;
123 const label nZoneLayers = 0
145 return subsetter_.baseMesh();
163 return !zoneMatcher_.empty();
label nLayers() const noexcept
Return number of layers around cell zones.
tmp< GeometricField< Type, fvPatchField, volMesh > > mapToZone(const GeometricField< Type, fvPatchField, volMesh > &subVolField) const
Map from the sub-mesh to original cell zones.
TypeName("zoneSubSet")
Runtime type information.
const fvMesh & baseMesh() const noexcept
The entire base mesh.
virtual ~zoneSubSet()=default
Destructor.
bool useSubMesh() const noexcept
True if sub-mesh is expected to be used.
const fvMeshSubset & subsetter() const
The mesh subsetter.
fvMeshSubset & subsetter()
The mesh subsetter.
const wordRes & zones() const noexcept
Return the current zones selector.
Generic GeometricField class.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Holds a reference to the original mesh (the baseMesh) and optionally to a subset of that mesh (the su...
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.
Intermediate tool for handling cellZones for function objects (e.g. momentumError) wherein the sub-me...
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.