Public Member Functions | Protected Types | Protected Attributes | List of all members
pairPatchAgglomeration Class Reference

Primitive patch pair agglomerate method. More...

Collaboration diagram for pairPatchAgglomeration:
Collaboration graph
[legend]

Public Member Functions

 pairPatchAgglomeration (const faceList &faces, const pointField &points, const dictionary &controlDict)
 
 pairPatchAgglomeration (const faceList &faces, const pointField &points, const label mergeLevels, const label maxLevels, const label nFacesInCoarsestLevel, const label nGlobalFacesInCoarsestLevel, const scalar featureAngle=0)
 
 ~pairPatchAgglomeration ()
 
void agglomerate ()
 
label size () const
 
const labelListrestrictTopBottomAddressing () const
 
const bPatchpatchLevel (const label leveli) const
 
const labelFieldrestrictAddressing (const label leveli) const
 
template<class Type >
void restrictField (Field< Type > &cf, const Field< Type > &ff, const label fineLevelIndex) const
 
template<class Type >
void prolongField (Field< Type > &ff, const Field< Type > &cf, const label coarseLevelIndex) const
 

Protected Types

typedef PrimitivePatch< List< face >, const pointFieldbPatch
 

Protected Attributes

label mergeLevels_
 
label maxLevels_
 
label nFacesInCoarsestLevel_
 
label nGlobalFacesInCoarsestLevel_
 
scalar featureAngle_
 
labelList nFaces_
 
PtrList< labelFieldrestrictAddressing_
 
labelList restrictTopBottomAddressing_
 
PtrList< bPatchpatchLevels_
 
EdgeMap< scalar > facePairWeight_
 

Detailed Description

Primitive patch pair agglomerate method.

Source files

Definition at line 50 of file pairPatchAgglomeration.H.

Member Typedef Documentation

◆ bPatch

typedef PrimitivePatch<List<face>, const pointField> bPatch
protected

Definition at line 54 of file pairPatchAgglomeration.H.

Constructor & Destructor Documentation

◆ pairPatchAgglomeration() [1/2]

pairPatchAgglomeration ( const faceList faces,
const pointField points,
const dictionary controlDict 
)

Definition at line 194 of file pairPatchAgglomeration.C.

References points.

◆ pairPatchAgglomeration() [2/2]

pairPatchAgglomeration ( const faceList faces,
const pointField points,
const label  mergeLevels,
const label  maxLevels,
const label  nFacesInCoarsestLevel,
const label  nGlobalFacesInCoarsestLevel,
const scalar  featureAngle = 0 
)

Definition at line 235 of file pairPatchAgglomeration.C.

References points.

◆ ~pairPatchAgglomeration()

Definition at line 269 of file pairPatchAgglomeration.C.

Member Function Documentation

◆ agglomerate()

void agglomerate ( )

Definition at line 387 of file pairPatchAgglomeration.C.

References Foam::foamVersion::patch.

Referenced by extractEulerianParticles::initialiseBins().

Here is the caller graph for this function:

◆ size()

label size ( ) const
inline

Definition at line 176 of file pairPatchAgglomeration.H.

References pairPatchAgglomeration::patchLevels_.

◆ restrictTopBottomAddressing()

const labelList& restrictTopBottomAddressing ( ) const
inline

Definition at line 182 of file pairPatchAgglomeration.H.

References pairPatchAgglomeration::restrictTopBottomAddressing_.

Referenced by extractEulerianParticles::initialiseBins().

Here is the caller graph for this function:

◆ patchLevel()

const Foam::pairPatchAgglomeration::bPatch & patchLevel ( const label  leveli) const

Definition at line 277 of file pairPatchAgglomeration.C.

◆ restrictAddressing()

const labelField& restrictAddressing ( const label  leveli) const
inline

◆ restrictField()

void restrictField ( Field< Type > &  cf,
const Field< Type > &  ff,
const label  fineLevelIndex 
) const

Definition at line 27 of file pairPatchAgglomerationTemplates.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::fv::ff(), and forAll.

Here is the call graph for this function:

◆ prolongField()

void prolongField ( Field< Type > &  ff,
const Field< Type > &  cf,
const label  coarseLevelIndex 
) const

Definition at line 55 of file pairPatchAgglomerationTemplates.C.

References Foam::fv::ff(), and forAll.

Here is the call graph for this function:

Member Data Documentation

◆ mergeLevels_

label mergeLevels_
protected

Definition at line 59 of file pairPatchAgglomeration.H.

◆ maxLevels_

label maxLevels_
protected

Definition at line 62 of file pairPatchAgglomeration.H.

◆ nFacesInCoarsestLevel_

label nFacesInCoarsestLevel_
protected

Definition at line 65 of file pairPatchAgglomeration.H.

◆ nGlobalFacesInCoarsestLevel_

label nGlobalFacesInCoarsestLevel_
protected

Definition at line 68 of file pairPatchAgglomeration.H.

◆ featureAngle_

scalar featureAngle_
protected

Definition at line 71 of file pairPatchAgglomeration.H.

◆ nFaces_

labelList nFaces_
protected

Definition at line 74 of file pairPatchAgglomeration.H.

◆ restrictAddressing_

PtrList<labelField> restrictAddressing_
protected

Definition at line 78 of file pairPatchAgglomeration.H.

Referenced by pairPatchAgglomeration::restrictAddressing().

◆ restrictTopBottomAddressing_

labelList restrictTopBottomAddressing_
protected

◆ patchLevels_

PtrList<bPatch> patchLevels_
protected

Definition at line 84 of file pairPatchAgglomeration.H.

Referenced by pairPatchAgglomeration::size().

◆ facePairWeight_

EdgeMap<scalar> facePairWeight_
protected

Definition at line 87 of file pairPatchAgglomeration.H.


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