Takes a set of patches to start MeshWave from. More...
#include <patchDataWave.H>


Public Member Functions | |
| patchDataWave (const polyMesh &mesh, const labelHashSet &patchIDs, const UPtrList< Field< Type > > &initialPatchValuePtrs, const bool correctWalls=true, TrackingData &td=dummyTrackData_) | |
| Construct from mesh, information on patches to initialize and flag. | |
| virtual | ~patchDataWave () |
| Destructor. | |
| virtual void | correct () |
| Correct for mesh geom/topo changes. | |
| const scalarField & | distance () const |
| scalarField & | distance () |
| Non const access so we can 'transfer' contents for efficiency. | |
| const FieldField< Field, scalar > & | patchDistance () const |
| FieldField< Field, scalar > & | patchDistance () |
| const Field< Type > & | cellData () const |
| Field< Type > & | cellData () |
| const FieldField< Field, Type > & | patchData () const |
| FieldField< Field, Type > & | patchData () |
| label | nUnset () const |
| Public Member Functions inherited from cellDistFuncs | |
| ClassName ("cellDistFuncs") | |
| cellDistFuncs (const polyMesh &mesh) | |
| Construct from mesh. | |
| const polyMesh & | mesh () const |
| Access mesh. | |
| labelHashSet | getPatchIDs (const UList< wordRe > &patchNames) const |
| Return the set of patch IDs corresponding to the given names. | |
| template<class Type> | |
| labelHashSet | getPatchIDs () const |
| Get patchIDs of/derived off certain type (e.g. 'processorPolyPatch'). | |
| template<class PatchType> | |
| scalar | smallestDist (const point &p, const PatchType &patch, const labelUList &wallFaces, label &patchFacei) const |
| Calculate smallest true distance (and patch face index). | |
| template<class PatchType> | |
| void | getPointNeighbours (const PatchType &, const label patchFacei, DynamicList< label > &) const |
| Get faces sharing point with face on patch. | |
| label | maxPatchSize (const labelHashSet &patchIDs) const |
| Size of largest patch (out of supplied subset of patches). | |
| label | sumPatchSize (const labelHashSet &patchIDs) const |
| Sum of patch sizes (out of supplied subset of patches). | |
| void | correctBoundaryFaceCells (const labelHashSet &patchIDs, scalarField &wallDistCorrected, Map< label > &nearestFace) const |
| Correct all cells connected to boundary (via face). Sets values in. | |
| void | correctBoundaryPointCells (const labelHashSet &patchIDs, scalarField &wallDistCorrected, Map< label > &nearestFace) const |
| Correct all cells connected to wall (via point). Sets values in. | |
| void | correctBoundaryCells (const labelList &patchIDs, const bool doPointCells, scalarField &wallDistCorrected, Map< label > &nearestFace) const |
| Correct all cells connected to any of the patches in patchIDs. Sets. | |
| template<class Type> | |
| Foam::labelHashSet | getPatchIDs () const |
| template<class PatchType> | |
| Foam::scalar | smallestDist (const point &p, const PatchType &patch, const labelUList &wallFaces, label &minFacei) const |
Additional Inherited Members | |
| Static Public Attributes inherited from cellDistFuncs | |
| static bool | useCombinedWallPatch = true |
| Use combined-wall-patches wall distance v.s. v2406 per-patch distance. Default is true. | |
Takes a set of patches to start MeshWave from.
Holds after construction distance at cells and distance at patches (like patchWave), but also additional transported data. It is used, for example, in the y+ calculation.
Definition at line 62 of file patchDataWave.H.
| patchDataWave | ( | const polyMesh & | mesh, |
| const labelHashSet & | patchIDs, | ||
| const UPtrList< Field< Type > > & | initialPatchValuePtrs, | ||
| const bool | correctWalls = true, | ||
| TrackingData & | td = dummyTrackData_ ) |
Construct from mesh, information on patches to initialize and flag.
whether or not to correct wall. Calculate for all cells. correctWalls : correct wall (face&point) cells for correct distance, searching neighbours.
Definition at line 181 of file patchDataWave.C.
References correct(), cellDistFuncs::mesh(), patchIDs, and td().

|
virtual |
Destructor.
Definition at line 208 of file patchDataWave.C.
|
virtual |
Correct for mesh geom/topo changes.
Definition at line 216 of file patchDataWave.C.
References MeshWave< Type, TrackingData >::allFaceInfo(), cellDistFuncs::correctBoundaryCells(), cellDistFuncs::correctBoundaryFaceCells(), cellDistFuncs::correctBoundaryPointCells(), UList< T >::data(), forAll, mesh, cellDistFuncs::sumPatchSize(), HashTable< T, Key, Hash >::toc(), and cellDistFuncs::useCombinedWallPatch.
Referenced by patchDataWave().


|
inline |
Definition at line 188 of file patchDataWave.H.
Referenced by directionalMeshWave::correct(), meshWave::correct(), and wallDistData< TransferType >::correct().

|
inline |
Non const access so we can 'transfer' contents for efficiency.
Definition at line 196 of file patchDataWave.H.
|
inline |
Definition at line 201 of file patchDataWave.H.
Referenced by directionalMeshWave::correct(), meshWave::correct(), and wallDistData< TransferType >::correct().

|
inline |
Definition at line 206 of file patchDataWave.H.
|
inline |
Definition at line 211 of file patchDataWave.H.
Referenced by directionalMeshWave::correct(), meshWave::correct(), and wallDistData< TransferType >::correct().

|
inline |
Definition at line 216 of file patchDataWave.H.
|
inline |
Definition at line 221 of file patchDataWave.H.
Referenced by directionalMeshWave::correct(), meshWave::correct(), and wallDistData< TransferType >::correct().

|
inline |
Definition at line 226 of file patchDataWave.H.
|
inline |
Definition at line 231 of file patchDataWave.H.
Referenced by directionalMeshWave::correct(), meshWave::correct(), and wallDistData< TransferType >::correct().
