Holds a reference to the original mesh (the baseMesh) and optionally to a subset of that mesh (the subMesh) with mapping lists for points, faces, and cells. More...
#include <faMeshSubset.H>

Public Member Functions | |
| faMeshSubset (const faMeshSubset &)=delete | |
| No copy construct. | |
| void | operator= (const faMeshSubset &)=delete |
| No copy assignment. | |
| faMeshSubset (const faMesh &baseMesh) noexcept | |
| Construct using the entire mesh (no subset). | |
| faMeshSubset (const faMesh &baseMesh, Foam::zero) | |
| Construct a zero-sized subset mesh, non-processor patches only. | |
| const faMesh & | baseMesh () const noexcept |
| Original mesh. | |
| const faMesh & | mesh () const noexcept |
| Return baseMesh or subMesh, depending on the current state. | |
| bool | hasSubMesh () const noexcept |
| Have subMesh? | |
| const faMesh & | subMesh () const |
| Return reference to subset mesh. | |
| faMesh & | subMesh () |
| Return reference to subset mesh. | |
| const labelList & | pointMap () const |
| Return point map. | |
| const labelList & | faceMap () const |
| Return face map. | |
| const labelList & | edgeFlipMap () const |
| Return edge map with sign to encode flipped edges. | |
| const labelList & | cellMap () const |
| Return cell map. | |
| const labelList & | patchMap () const |
| Return patch map. | |
| void | clear () |
| Reset subMesh and all maps. | |
| void | reset () |
| Reset subMesh and all maps. Same as clear(). | |
| void | reset (Foam::zero) |
| Reset to a zero-sized subset mesh, non-processor patches only. | |
| template<class Type> | |
| tmp< GeometricField< Type, faPatchField, areaMesh > > | interpolate (const GeometricField< Type, faPatchField, areaMesh > &, const bool allowUnmapped=false) const |
| Map area field. | |
| template<class Type> | |
| tmp< GeometricField< Type, faePatchField, edgeMesh > > | interpolate (const GeometricField< Type, faePatchField, edgeMesh > &, const bool allowUnmapped=false) const |
| Map edge field. | |
Static Public Member Functions | |
| template<class Type> | |
| static tmp< GeometricField< Type, faPatchField, areaMesh > > | interpolate (const GeometricField< Type, faPatchField, areaMesh > &, const faMesh &sMesh, const bool allowUnmapped=false) |
| Map area field. | |
| template<class Type> | |
| static tmp< GeometricField< Type, faePatchField, edgeMesh > > | interpolate (const GeometricField< Type, faePatchField, edgeMesh > &, const faMesh &sMesh) |
| Map edge field. | |
Static Public Attributes | |
| static word | exposedPatchName |
| Name for exposed internal edges (default: oldInternalEdges). | |
Protected Member Functions | |
| bool | checkHasSubMesh () const |
| FatalError if subset has not been performed. | |
Holds a reference to the original mesh (the baseMesh) and optionally to a subset of that mesh (the subMesh) with mapping lists for points, faces, and cells.
Caution Currently not really functional for subsetting beyond handling a simple zero-sized mesh.
Definition at line 61 of file faMeshSubset.H.
|
delete |
No copy construct.
References faMeshSubset().
Referenced by faMeshSubset(), and operator=().


|
explicitnoexcept |
Construct using the entire mesh (no subset).
References baseMesh().

| faMeshSubset | ( | const faMesh & | baseMesh, |
| Foam::zero | ) |
Construct a zero-sized subset mesh, non-processor patches only.
References baseMesh(), cellMap(), edgeFlipMap(), faceMap(), hasSubMesh(), mesh(), Foam::noexcept, patchMap(), pointMap(), and subMesh().

|
protected |
FatalError if subset has not been performed.
Referenced by cellMap(), faceMap(), patchMap(), pointMap(), subMesh(), and subMesh().

|
delete |
|
inlinenoexcept |
Original mesh.
Definition at line 23 of file faMeshSubsetI.H.
References Foam::noexcept.
Referenced by faMeshSubset(), and faMeshSubset().

|
inlinenoexcept |
Return baseMesh or subMesh, depending on the current state.
Definition at line 29 of file faMeshSubsetI.H.
References Foam::noexcept.
Referenced by faMeshSubset().

|
inlinenoexcept |
Have subMesh?
Definition at line 35 of file faMeshSubsetI.H.
References Foam::noexcept.
Referenced by faMeshSubset().

|
inline |
Return reference to subset mesh.
Definition at line 41 of file faMeshSubsetI.H.
References checkHasSubMesh().
Referenced by faMeshSubset().


|
inline |
Return reference to subset mesh.
Definition at line 49 of file faMeshSubsetI.H.
References checkHasSubMesh().

|
inline |
Return point map.
Definition at line 57 of file faMeshSubsetI.H.
References checkHasSubMesh().
Referenced by faMeshSubset().


|
inline |
Return face map.
Definition at line 65 of file faMeshSubsetI.H.
References checkHasSubMesh().
Referenced by faMeshSubset().


|
inline |
Return edge map with sign to encode flipped edges.
Definition at line 73 of file faMeshSubsetI.H.
Referenced by faMeshSubset().

|
inline |
Return cell map.
Definition at line 84 of file faMeshSubsetI.H.
References checkHasSubMesh().
Referenced by faMeshSubset().


|
inline |
Return patch map.
Definition at line 92 of file faMeshSubsetI.H.
References checkHasSubMesh().
Referenced by faMeshSubset().


| void clear | ( | ) |
| void reset | ( | ) |
| void reset | ( | Foam::zero | ) |
Reset to a zero-sized subset mesh, non-processor patches only.
References reset().

|
static |
Map area field.
Optionally allow unmapped faces not to produce a warning
References interpolate().
Referenced by interpolate(), interpolate(), interpolate(), and interpolate().


|
static |
Map edge field.
Optionally allow unmapped faces not to produce a warning
References interpolate().

| tmp< GeometricField< Type, faPatchField, areaMesh > > interpolate | ( | const GeometricField< Type, faPatchField, areaMesh > & | , |
| const bool | allowUnmapped = false ) const |
Map area field.
Optionally allow unmapped faces not to produce a warning
References interpolate().

| tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate | ( | const GeometricField< Type, faePatchField, edgeMesh > & | , |
| const bool | allowUnmapped = false ) const |
|
static |
Name for exposed internal edges (default: oldInternalEdges).
Definition at line 126 of file faMeshSubset.H.