Primitive patch pair agglomerate method. More...
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 labelList & | restrictTopBottomAddressing () const |
const bPatch & | patchLevel (const label leveli) const |
const labelField & | restrictAddressing (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 pointField > | bPatch |
Protected Attributes | |
label | mergeLevels_ |
label | maxLevels_ |
label | nFacesInCoarsestLevel_ |
label | nGlobalFacesInCoarsestLevel_ |
scalar | featureAngle_ |
labelList | nFaces_ |
PtrList< labelField > | restrictAddressing_ |
labelList | restrictTopBottomAddressing_ |
PtrList< bPatch > | patchLevels_ |
EdgeMap< scalar > | facePairWeight_ |
Primitive patch pair agglomerate method.
Definition at line 50 of file pairPatchAgglomeration.H.
|
protected |
Definition at line 54 of file pairPatchAgglomeration.H.
pairPatchAgglomeration | ( | const faceList & | faces, |
const pointField & | points, | ||
const dictionary & | controlDict | ||
) |
Definition at line 194 of file pairPatchAgglomeration.C.
References points.
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.
Definition at line 269 of file pairPatchAgglomeration.C.
void agglomerate | ( | ) |
Definition at line 387 of file pairPatchAgglomeration.C.
References Foam::foamVersion::patch.
Referenced by extractEulerianParticles::initialiseBins().
|
inline |
Definition at line 176 of file pairPatchAgglomeration.H.
References pairPatchAgglomeration::patchLevels_.
|
inline |
Definition at line 182 of file pairPatchAgglomeration.H.
References pairPatchAgglomeration::restrictTopBottomAddressing_.
Referenced by extractEulerianParticles::initialiseBins().
const Foam::pairPatchAgglomeration::bPatch & patchLevel | ( | const label | leveli | ) | const |
Definition at line 277 of file pairPatchAgglomeration.C.
|
inline |
Definition at line 191 of file pairPatchAgglomeration.H.
References pairPatchAgglomeration::restrictAddressing_.
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.
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.
|
protected |
Definition at line 59 of file pairPatchAgglomeration.H.
|
protected |
Definition at line 62 of file pairPatchAgglomeration.H.
|
protected |
Definition at line 65 of file pairPatchAgglomeration.H.
|
protected |
Definition at line 68 of file pairPatchAgglomeration.H.
|
protected |
Definition at line 71 of file pairPatchAgglomeration.H.
|
protected |
Definition at line 74 of file pairPatchAgglomeration.H.
|
protected |
Definition at line 78 of file pairPatchAgglomeration.H.
Referenced by pairPatchAgglomeration::restrictAddressing().
|
protected |
Definition at line 81 of file pairPatchAgglomeration.H.
Referenced by pairPatchAgglomeration::restrictTopBottomAddressing().
Definition at line 84 of file pairPatchAgglomeration.H.
Referenced by pairPatchAgglomeration::size().
|
protected |
Definition at line 87 of file pairPatchAgglomeration.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.