Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
patchDistMethod Class Referenceabstract

Specialisation of patchDist for wall distance calculation. More...

Inheritance diagram for patchDistMethod:
Inheritance graph
[legend]
Collaboration diagram for patchDistMethod:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("patchDistMethod")
 
 declareRunTimeSelectionTable (autoPtr, patchDistMethod, dictionary,(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs),(dict, mesh, patchIDs))
 
 patchDistMethod (const fvMesh &mesh, const labelHashSet &patchIDs)
 
virtual ~patchDistMethod ()
 
const labelHashSetpatchIDs () const
 
virtual bool movePoints ()
 
virtual void updateMesh (const mapPolyMesh &)
 
virtual bool correct (volScalarField &y)=0
 
virtual bool correct (volScalarField &y, volVectorField &n)=0
 
template<class Type >
Foam::wordList patchTypes (const fvMesh &mesh, const labelHashSet &patchIDs)
 

Static Public Member Functions

static autoPtr< patchDistMethodNew (const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs, const word &defaultPatchDistMethod=word::null)
 
template<class Type >
static wordList patchTypes (const fvMesh &mesh, const labelHashSet &patchIDs)
 

Protected Member Functions

 patchDistMethod (const patchDistMethod &)=delete
 
void operator= (const patchDistMethod &)=delete
 

Protected Attributes

const fvMeshmesh_
 
const labelHashSet patchIDs_
 

Detailed Description

Specialisation of patchDist for wall distance calculation.

Source files

Definition at line 55 of file patchDistMethod.H.

Constructor & Destructor Documentation

◆ patchDistMethod() [1/2]

patchDistMethod ( const patchDistMethod )
protecteddelete

◆ patchDistMethod() [2/2]

patchDistMethod ( const fvMesh mesh,
const labelHashSet patchIDs 
)

Definition at line 36 of file patchDistMethod.C.

◆ ~patchDistMethod()

~patchDistMethod ( )
virtual

Definition at line 86 of file patchDistMethod.C.

Member Function Documentation

◆ operator=()

void operator= ( const patchDistMethod )
protecteddelete

◆ TypeName()

TypeName ( "patchDistMethod"  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
patchDistMethod  ,
dictionary  ,
(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs ,
(dict, mesh, patchIDs  
)

◆ New()

Foam::autoPtr< Foam::patchDistMethod > New ( const dictionary dict,
const fvMesh mesh,
const labelHashSet patchIDs,
const word defaultPatchDistMethod = word::null 
)
static

Definition at line 50 of file patchDistMethod.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, Foam::Info, and mesh.

Here is the call graph for this function:

◆ patchTypes() [1/2]

static wordList patchTypes ( const fvMesh mesh,
const labelHashSet patchIDs 
)
static

◆ patchIDs()

const labelHashSet& patchIDs ( ) const
inline

Definition at line 139 of file patchDistMethod.H.

References patchDistMethod::patchIDs_.

◆ movePoints()

virtual bool movePoints ( )
inlinevirtual

Reimplemented in exact.

Definition at line 145 of file patchDistMethod.H.

◆ updateMesh()

virtual void updateMesh ( const mapPolyMesh )
inlinevirtual

Reimplemented in exact.

Definition at line 151 of file patchDistMethod.H.

◆ correct() [1/2]

virtual bool correct ( volScalarField y)
pure virtual

◆ correct() [2/2]

virtual bool correct ( volScalarField y,
volVectorField n 
)
pure virtual

◆ patchTypes() [2/2]

Foam::wordList patchTypes ( const fvMesh mesh,
const labelHashSet patchIDs 
)

Definition at line 28 of file patchDistMethodTemplates.C.

References mesh.

Member Data Documentation

◆ mesh_

const fvMesh& mesh_
protected

Definition at line 62 of file patchDistMethod.H.

Referenced by meshWave::correct(), and directionalMeshWave::correct().

◆ patchIDs_

const labelHashSet patchIDs_
protected

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