Public Member Functions | |
TypeName ("zoneSubSet") | |
Runtime type information. More... | |
zoneSubSet (const fvMesh &mesh, const wordRes &zoneSelector, const label nZoneLayers=0) | |
Construct from components. More... | |
zoneSubSet (const fvMesh &mesh, const dictionary &dict) | |
Construct from mesh and dictionary. More... | |
virtual | ~zoneSubSet ()=default |
Destructor. More... | |
const fvMesh & | baseMesh () const noexcept |
The entire base mesh. More... | |
const fvMeshSubset & | subsetter () const |
The mesh subsetter. More... | |
fvMeshSubset & | subsetter () |
The mesh subsetter. More... | |
bool | useSubMesh () const noexcept |
True if sub-mesh is expected to be used. More... | |
const wordRes & | zones () const noexcept |
Return the current zones selector. More... | |
label | nLayers () const noexcept |
Return number of layers around cell zones. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | mapToZone (const GeometricField< Type, fvPatchField, volMesh > &subVolField) const |
Map from the sub-mesh to original cell zones. More... | |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > | mapToZone (const GeometricField< Type, fvPatchField, volMesh > &subVolField) const |
Definition at line 94 of file zoneSubSet.H.
zoneSubSet | ( | const fvMesh & | mesh, |
const wordRes & | zoneSelector, | ||
const label | nZoneLayers = 0 |
||
) |
zoneSubSet | ( | const fvMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from mesh and dictionary.
Definition at line 116 of file zoneSubSet.C.
|
virtualdefault |
Destructor.
TypeName | ( | "zoneSubSet" | ) |
Runtime type information.
|
inlinenoexcept |
The entire base mesh.
Definition at line 180 of file zoneSubSet.H.
References fvMeshSubset::baseMesh().
|
inline |
The mesh subsetter.
Definition at line 188 of file zoneSubSet.H.
|
inline |
The mesh subsetter.
Definition at line 196 of file zoneSubSet.H.
|
inlinenoexcept |
True if sub-mesh is expected to be used.
Definition at line 204 of file zoneSubSet.H.
References UList< T >::empty().
|
inlinenoexcept |
Return the current zones selector.
Definition at line 212 of file zoneSubSet.H.
|
inlinenoexcept |
Return number of layers around cell zones.
Definition at line 220 of file zoneSubSet.H.
tmp<GeometricField<Type, fvPatchField, volMesh> > mapToZone | ( | const GeometricField< Type, fvPatchField, volMesh > & | subVolField | ) | const |
Map from the sub-mesh to original cell zones.
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > mapToZone | ( | const GeometricField< Type, fvPatchField, volMesh > & | subVolField | ) | const |
Definition at line 28 of file zoneSubSetTemplates.C.
References DimensionedField< Type, GeoMesh >::dimensions(), forAll, IOobject::name(), and Foam::New().