Loading...
Searching...
No Matches
FaceCellWaveBase Class Reference

#include <FaceCellWave.H>

Inheritance diagram for FaceCellWaveBase:
Collaboration diagram for FaceCellWaveBase:

Public Member Functions

 ClassName ("FaceCellWave")
 Runtime type information.
 FaceCellWaveBase (const polyMesh &mesh)
 Construct with mesh reference and set initial sizes.
const polyMeshmesh () const noexcept
 Return access to the mesh.
label nChangedCells () const noexcept
 Current number of changed cells.
label nChangedFaces () const noexcept
 Current number of changed faces.
label nUnvisitedCells () const noexcept
 Get number of unvisited cells, i.e. cells that were not (yet) reached from walking across mesh.
label nUnvisitedFaces () const noexcept
 Get number of unvisited faces.

Static Public Member Functions

static scalar propagationTol () noexcept
 Access to propagation tolerance.
static scalar setPropagationTol (const scalar tol) noexcept
 Change propagation tolerance, return previous value.

Static Public Attributes

static int dummyTrackData_ = 12345
 Default trackData value (for default template argument).

Protected Attributes

const polyMeshmesh_
 Reference to mesh.
PstreamBuffers pBufs_
 Buffers when updating processor patches.
bitSet changedFace_
 Track if face has changed.
bitSet changedCell_
 Track if cell has changed.
DynamicList< label > changedFaces_
 List of changed faces.
DynamicList< label > changedCells_
 List of changed cells.
label nUnvisitedFaces_
 Current count of unvisited faces.
label nUnvisitedCells_
 Current count of unvisited cells.

Static Protected Attributes

static const scalar geomTol_ = 1e-6
static scalar propagationTol_ = 0.01

Detailed Description

Definition at line 67 of file FaceCellWave.H.

Constructor & Destructor Documentation

◆ FaceCellWaveBase()

FaceCellWaveBase ( const polyMesh & mesh)
explicit

Construct with mesh reference and set initial sizes.

Definition at line 42 of file FaceCellWaveBase.C.

References changedCell_, changedCells_, changedFace_, changedFaces_, mesh(), mesh_, nUnvisitedCells_, nUnvisitedFaces_, and pBufs_.

Referenced by FaceCellWave< Type, TrackingData >::FaceCellWave(), FaceCellWave< Type, TrackingData >::FaceCellWave(), and FaceCellWave< Type, TrackingData >::FaceCellWave().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ ClassName()

ClassName ( "FaceCellWave" )

Runtime type information.

References mesh().

Here is the call graph for this function:

◆ propagationTol()

scalar propagationTol ( )
inlinestaticnoexcept

Access to propagation tolerance.

Definition at line 147 of file FaceCellWave.H.

References Foam::noexcept, and propagationTol_.

Referenced by hexRef8::consistentSlowRefinement(), and hexRef8::consistentSlowRefinement2().

Here is the caller graph for this function:

◆ setPropagationTol()

scalar setPropagationTol ( const scalar tol)
inlinestaticnoexcept

Change propagation tolerance, return previous value.

Definition at line 155 of file FaceCellWave.H.

References propagationTol_.

◆ mesh()

◆ nChangedCells()

◆ nChangedFaces()

◆ nUnvisitedCells()

label nUnvisitedCells ( ) const
inlinenoexcept

Get number of unvisited cells, i.e. cells that were not (yet) reached from walking across mesh.

This can happen from

  • not enough iterations done
  • a disconnected mesh
  • a mesh without walls in it

Definition at line 192 of file FaceCellWave.H.

References Foam::noexcept, and nUnvisitedCells_.

Referenced by structuredRenumber::renumber().

Here is the caller graph for this function:

◆ nUnvisitedFaces()

label nUnvisitedFaces ( ) const
inlinenoexcept

Get number of unvisited faces.

Definition at line 197 of file FaceCellWave.H.

References Foam::noexcept, and nUnvisitedFaces_.

Member Data Documentation

◆ geomTol_

const Foam::scalar geomTol_ = 1e-6
staticprotected

Definition at line 73 of file FaceCellWave.H.

Referenced by FaceCellWave< Type, int >::enterDomain().

◆ propagationTol_

◆ mesh_

◆ pBufs_

PstreamBuffers pBufs_
protected

Buffers when updating processor patches.

Definition at line 87 of file FaceCellWave.H.

Referenced by FaceCellWaveBase(), and FaceCellWave< Type, TrackingData >::handleProcPatches().

◆ changedFace_

◆ changedCell_

◆ changedFaces_

◆ changedCells_

◆ nUnvisitedFaces_

◆ nUnvisitedCells_

label nUnvisitedCells_
protected

◆ dummyTrackData_

int dummyTrackData_ = 12345
static

Default trackData value (for default template argument).

Definition at line 125 of file FaceCellWave.H.

Referenced by FaceCellWave< Type, TrackingData >::operator=().


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