Loading...
Searching...
No Matches
zoneSubSet Class Reference

#include <zoneSubSet.H>

Public Member Functions

 TypeName ("zoneSubSet")
 Runtime type information.
 zoneSubSet (const fvMesh &mesh, const wordRes &zoneSelector, const label nZoneLayers=0)
 Construct from components.
 zoneSubSet (const fvMesh &mesh, const dictionary &dict)
 Construct from mesh and dictionary.
virtual ~zoneSubSet ()=default
 Destructor.
const fvMeshbaseMesh () const noexcept
 The entire base mesh.
const fvMeshSubsetsubsetter () const
 The mesh subsetter.
fvMeshSubsetsubsetter ()
 The mesh subsetter.
bool useSubMesh () const noexcept
 True if sub-mesh is expected to be used.
const wordReszones () const noexcept
 Return the current zones selector.
label nLayers () const noexcept
 Return number of layers around cell zones.
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.
template<class Type>
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapToZone (const GeometricField< Type, fvPatchField, volMesh > &subVolField) const

Detailed Description

Definition at line 94 of file zoneSubSet.H.

Constructor & Destructor Documentation

◆ zoneSubSet() [1/2]

zoneSubSet ( const fvMesh & mesh,
const wordRes & zoneSelector,
const label nZoneLayers = 0 )

Construct from components.

Definition at line 99 of file zoneSubSet.C.

References correct(), and mesh.

Here is the call graph for this function:

◆ zoneSubSet() [2/2]

zoneSubSet ( const fvMesh & mesh,
const dictionary & dict )

Construct from mesh and dictionary.

Definition at line 115 of file zoneSubSet.C.

References correct(), dict, and mesh.

Here is the call graph for this function:

◆ ~zoneSubSet()

virtual ~zoneSubSet ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "zoneSubSet" )

Runtime type information.

References dict, and mesh.

◆ baseMesh()

const fvMesh & baseMesh ( ) const
inlinenoexcept

The entire base mesh.

Definition at line 180 of file zoneSubSet.H.

References Foam::noexcept.

◆ subsetter() [1/2]

const fvMeshSubset & subsetter ( ) const
inline

The mesh subsetter.

Definition at line 188 of file zoneSubSet.H.

◆ subsetter() [2/2]

fvMeshSubset & subsetter ( )
inline

The mesh subsetter.

Definition at line 196 of file zoneSubSet.H.

◆ useSubMesh()

bool useSubMesh ( ) const
inlinenoexcept

True if sub-mesh is expected to be used.

Definition at line 204 of file zoneSubSet.H.

References Foam::noexcept.

◆ zones()

const wordRes & zones ( ) const
inlinenoexcept

Return the current zones selector.

Definition at line 212 of file zoneSubSet.H.

References Foam::noexcept.

◆ nLayers()

label nLayers ( ) const
inlinenoexcept

Return number of layers around cell zones.

Definition at line 220 of file zoneSubSet.H.

References Foam::noexcept.

◆ mapToZone() [1/2]

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.

◆ mapToZone() [2/2]

template<class Type>
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapToZone ( const GeometricField< Type, fvPatchField, volMesh > & subVolField) const

Definition at line 27 of file zoneSubSetTemplates.C.

References DimensionedField< Type, GeoMesh >::dimensions(), forAll, and IOobject::name().

Here is the call graph for this function:

The documentation for this class was generated from the following files: