Geometric agglomerated algebraic multigrid agglomeration class. More...
Public Member Functions | |
TypeName ("GAMGAgglomeration") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, GAMGAgglomeration, lduMesh,(const lduMesh &mesh, const dictionary &controlDict),(mesh, controlDict)) | |
Runtime selection table for pure geometric agglomerators. More... | |
declareRunTimeSelectionTable (autoPtr, GAMGAgglomeration, lduMatrix,(const lduMatrix &matrix, const dictionary &controlDict),(matrix, controlDict)) | |
declareRunTimeSelectionTable (autoPtr, GAMGAgglomeration, geometry,(const lduMesh &mesh, const scalarField &cellVolumes, const vectorField &faceAreas, const dictionary &controlDict),(mesh, cellVolumes, faceAreas, controlDict)) | |
GAMGAgglomeration (const lduMesh &mesh, const dictionary &controlDict) | |
Construct given mesh and controls. More... | |
~GAMGAgglomeration () | |
Destructor. More... | |
label | size () const |
const lduMesh & | meshLevel (const label leveli) const |
Return LDU mesh of given level. More... | |
bool | hasMeshLevel (const label leveli) const |
Do we have mesh for given level? More... | |
const lduInterfacePtrsList & | interfaceLevel (const label leveli) const |
Return LDU interface addressing of given level. More... | |
const labelField & | restrictAddressing (const label leveli) const |
Return cell restrict addressing of given level. More... | |
const labelList & | faceRestrictAddressing (const label leveli) const |
Return face restrict addressing of given level. More... | |
const labelListList & | patchFaceRestrictAddressing (const label leveli) const |
const boolList & | faceFlipMap (const label leveli) const |
Return face flip map of given level. More... | |
label | nCells (const label leveli) const |
Return number of coarse cells (before processor agglomeration) More... | |
label | nFaces (const label leveli) const |
Return number of coarse faces (before processor agglomeration) More... | |
const labelList & | nPatchFaces (const label leveli) const |
template<class Type > | |
void | restrictField (Field< Type > &cf, const Field< Type > &ff, const label fineLevelIndex, const bool procAgglom) const |
Restrict (integrate by summation) cell field. More... | |
template<class Type > | |
void | restrictFaceField (Field< Type > &cf, const Field< Type > &ff, const label fineLevelIndex) const |
Restrict (integrate by summation) face field. More... | |
template<class Type > | |
void | restrictField (Field< Type > &cf, const Field< Type > &ff, const labelList &fineToCoarse) const |
Restrict (integrate by summation) cell field. More... | |
template<class Type > | |
void | prolongField (Field< Type > &ff, const Field< Type > &cf, const label coarseLevelIndex, const bool procAgglom) const |
Prolong (interpolate by injection) cell field. More... | |
bool | processorAgglomerate () const |
Whether to agglomerate across processors. More... | |
const labelList & | procAgglomMap (const label fineLeveli) const |
const labelList & | agglomProcIDs (const label fineLeveli) const |
bool | hasProcMesh (const label fineLeveli) const |
Check that level has combined mesh. More... | |
label | procCommunicator (const label fineLeveli) const |
Communicator for current level or -1. More... | |
const labelList & | cellOffsets (const label fineLeveli) const |
Mapping from processor to procMesh cells. More... | |
const labelListList & | faceMap (const label fineLeveli) const |
Mapping from processor to procMesh face. More... | |
const labelListList & | boundaryMap (const label fineLeveli) const |
Mapping from processor to procMesh boundary. More... | |
const labelListListList & | boundaryFaceMap (const label fineLeveli) const |
Mapping from processor to procMesh boundary face. More... | |
Public Member Functions inherited from MeshObject< lduMesh, GeometricMeshObject, GAMGAgglomeration > | |
MeshObject (const lduMesh &mesh) | |
Construct on Mesh type. More... | |
virtual | ~MeshObject ()=default |
Destructor. More... | |
const lduMesh & | mesh () const |
virtual bool | writeData (Ostream &os) const |
Static Public Member Functions | |
static const GAMGAgglomeration & | New (const lduMesh &mesh, const dictionary &controlDict) |
Return the selected geometric agglomerator. More... | |
static const GAMGAgglomeration & | New (const lduMatrix &matrix, const dictionary &controlDict) |
Return the selected matrix agglomerator. More... | |
static const GAMGAgglomeration & | New (const lduMesh &mesh, const scalarField &cellVolumes, const vectorField &faceAreas, const dictionary &controlDict) |
Return the selected geometric agglomerator. More... | |
static void | calculateRegionMaster (const label comm, const labelList &procAgglomMap, labelList &masterProcs, List< label > &agglomProcIDs) |
Given fine to coarse processor map determine: More... | |
static bool | checkRestriction (labelList &newRestrict, label &nNewCoarse, const lduAddressing &fineAddressing, const labelUList &restriction, const label nCoarse) |
Given restriction determines if coarse cells are connected. More... | |
Static Public Member Functions inherited from MeshObject< lduMesh, GeometricMeshObject, GAMGAgglomeration > | |
static const GAMGAgglomeration & | New (const lduMesh &mesh, Args &&... args) |
Get existing or create a new MeshObject. More... | |
static bool | Delete (const lduMesh &mesh) |
Static destructor. More... | |
Protected Member Functions | |
void | agglomerateLduAddressing (const label fineLevelIndex) |
Assemble coarse mesh addressing. More... | |
void | combineLevels (const label curLevel) |
Combine a level with the previous one. More... | |
void | compactLevels (const label nCreatedLevels) |
Shrink the number of levels to that specified. More... | |
bool | continueAgglomerating (const label nCells, const label nCoarseCells) const |
Check the need for further agglomeration. More... | |
void | clearLevel (const label leveli) |
void | procAgglomerateLduAddressing (const label comm, const labelList &procAgglomMap, const labelList &procIDs, const label allMeshComm, const label levelIndex) |
Collect and combine processor meshes into allMesh: More... | |
void | procAgglomerateRestrictAddressing (const label comm, const labelList &procIDs, const label levelIndex) |
Collect and combine basic restriction addressing: More... | |
GAMGAgglomeration (const GAMGAgglomeration &)=delete | |
No copy construct. More... | |
void | operator= (const GAMGAgglomeration &)=delete |
No copy assignment. More... | |
Protected Attributes | |
const label | maxLevels_ |
Max number of levels. More... | |
label | nCellsInCoarsestLevel_ |
Number of cells in coarsest level. More... | |
const lduInterfacePtrsList | meshInterfaces_ |
Cached mesh interfaces. More... | |
autoPtr< GAMGProcAgglomeration > | procAgglomeratorPtr_ |
labelList | nCells_ |
The number of cells in each level. More... | |
PtrList< labelField > | restrictAddressing_ |
Cell restriction addressing array. More... | |
labelList | nFaces_ |
The number of (coarse) faces in each level. More... | |
PtrList< labelList > | faceRestrictAddressing_ |
Face restriction addressing array. More... | |
PtrList< boolList > | faceFlipMap_ |
Face flip: for faces mapped to internal faces stores whether. More... | |
PtrList< labelList > | nPatchFaces_ |
The number of (coarse) patch faces in each level. More... | |
PtrList< labelListList > | patchFaceRestrictAddressing_ |
Patch-local face restriction addressing array. More... | |
PtrList< lduPrimitiveMesh > | meshLevels_ |
Hierarchy of mesh addressing. More... | |
PtrList< labelList > | procAgglomMap_ |
Per level, per processor the processor it agglomerates into. More... | |
PtrList< labelList > | agglomProcIDs_ |
Per level the set of processors to agglomerate. Element 0 is. More... | |
labelList | procCommunicator_ |
Communicator for given level. More... | |
PtrList< labelList > | procCellOffsets_ |
Mapping from processor to procMeshLevel cells. More... | |
PtrList< labelListList > | procFaceMap_ |
Mapping from processor to procMeshLevel face. More... | |
PtrList< labelListList > | procBoundaryMap_ |
Mapping from processor to procMeshLevel boundary. More... | |
PtrList< labelListListList > | procBoundaryFaceMap_ |
Mapping from processor to procMeshLevel boundary face. More... | |
Protected Attributes inherited from MeshObject< lduMesh, GeometricMeshObject, GAMGAgglomeration > | |
const lduMesh & | mesh_ |
Friends | |
class | GAMGProcAgglomeration |
Declare friendship with GAMGProcAgglomeration. More... | |
Geometric agglomerated algebraic multigrid agglomeration class.
Definition at line 64 of file GAMGAgglomeration.H.
|
protecteddelete |
No copy construct.
GAMGAgglomeration | ( | const lduMesh & | mesh, |
const dictionary & | controlDict | ||
) |
Construct given mesh and controls.
Definition at line 231 of file GAMGAgglomeration.C.
References GAMGAgglomeration::agglomProcIDs_, lduMesh::lduAddr(), Foam::max(), GAMGAgglomeration::maxLevels_, MeshObject< lduMesh, GeometricMeshObject, GAMGAgglomeration >::mesh(), Foam::min(), GAMGAgglomeration::nCellsInCoarsestLevel_, GAMGAgglomeration::procAgglomMap_, GAMGAgglomeration::procBoundaryFaceMap_, GAMGAgglomeration::procBoundaryMap_, GAMGAgglomeration::procCellOffsets_, GAMGAgglomeration::procCommunicator_, GAMGAgglomeration::processorAgglomerate(), GAMGAgglomeration::procFaceMap_, Foam::reduce(), List< T >::setSize(), and lduAddressing::size().
~GAMGAgglomeration | ( | ) |
Destructor.
Definition at line 448 of file GAMGAgglomeration.C.
|
protected |
Assemble coarse mesh addressing.
Definition at line 36 of file GAMGAgglomerateLduAddressing.C.
References Foam::abort(), lduMesh::comm(), Foam::endl(), Foam::exit(), GAMGAgglomeration::faceFlipMap(), GAMGAgglomeration::faceFlipMap_, GAMGAgglomeration::faceRestrictAddressing_, Foam::FatalError, FatalErrorInFunction, forAll, forAllReverse, GAMGAgglomeration::interfaceLevel(), lduMesh::lduAddr(), lduAddressing::lowerAddr(), GAMGAgglomeration::meshLevel(), GAMGAgglomeration::meshLevels_, Foam::min(), GAMGAgglomeration::nCells_, Time::New(), GAMGAgglomeration::nFaces_, UPstream::nonBlocking, GAMGAgglomeration::nPatchFaces(), GAMGAgglomeration::nPatchFaces_, UPstream::nRequests(), UPstream::parRun(), lduAddressing::patchAddr(), GAMGAgglomeration::patchFaceRestrictAddressing_, Foam::Pout, GAMGAgglomeration::restrictAddressing(), UPtrList< T >::set(), List< T >::setSize(), lduAddressing::size(), UPtrList< T >::size(), UList< T >::size(), lduAddressing::upperAddr(), UPstream::waitRequests(), and Foam::Zero.
Referenced by pairGAMGAgglomeration::agglomerate(), dummyAgglomeration::dummyAgglomeration(), and MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration().
|
protected |
Combine a level with the previous one.
Definition at line 575 of file GAMGAgglomerateLduAddressing.C.
References GAMGInterface::combine(), forAll, UPtrList< T >::set(), and List< T >::set().
Referenced by pairGAMGAgglomeration::agglomerate().
|
protected |
Shrink the number of levels to that specified.
Definition at line 51 of file GAMGAgglomeration.C.
References GAMGAgglomeration::agglomProcIDs_, lduAddressing::band(), Foam::endl(), GAMGAgglomeration::faceFlipMap_, GAMGAgglomeration::faceRestrictAddressing_, forAll, GAMGAgglomeration::hasMeshLevel(), Foam::Info, lduMesh::interfaces(), lduMesh::lduAddr(), lduAddressing::lowerAddr(), GAMGAgglomeration::meshLevel(), GAMGAgglomeration::meshLevels_, GAMGAgglomeration::nCells(), GAMGAgglomeration::nCells_, GAMGAgglomeration::nFaces_, Foam::nl, GAMGAgglomeration::nPatchFaces_, GAMGAgglomeration::patchFaceRestrictAddressing_, OSstream::precision(), GAMGAgglomeration::procAgglomeratorPtr_, GAMGAgglomeration::procAgglomMap_, GAMGAgglomeration::procBoundaryFaceMap_, GAMGAgglomeration::procBoundaryMap_, GAMGAgglomeration::procCellOffsets_, GAMGAgglomeration::procCommunicator_, GAMGAgglomeration::processorAgglomerate(), GAMGAgglomeration::procFaceMap_, GAMGAgglomeration::restrictAddressing_, Foam::returnReduce(), Tuple2< T1, T2 >::second(), UPtrList< T >::set(), List< T >::setSize(), Foam::setw(), lduAddressing::size(), GAMGAgglomeration::size(), UPtrList< T >::size(), UList< T >::size(), messageStream::stream(), and Foam::type().
Referenced by pairGAMGAgglomeration::agglomerate(), dummyAgglomeration::dummyAgglomeration(), and MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration().
|
protected |
Check the need for further agglomeration.
Definition at line 210 of file GAMGAgglomeration.C.
References PstreamBuffers::nProcs(), and Foam::returnReduce().
Referenced by pairGAMGAgglomeration::agglomerate(), and MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration().
|
protected |
Definition at line 499 of file GAMGAgglomeration.C.
|
protected |
Collect and combine processor meshes into allMesh:
Definition at line 426 of file GAMGAgglomerateLduAddressing.C.
References lduPrimitiveMesh::gather(), processorFaPatch::myProcNo(), and List< T >::set().
|
protected |
Collect and combine basic restriction addressing:
Definition at line 499 of file GAMGAgglomerateLduAddressing.C.
References forAll, globalIndex::gather(), globalIndex::gatherValues(), UList< T >::last(), UPstream::msgType(), processorFaPatch::myProcNo(), UPstream::nonBlocking, UPstream::scheduled, UList< T >::size(), and List< T >::transfer().
|
protecteddelete |
No copy assignment.
TypeName | ( | "GAMGAgglomeration" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
GAMGAgglomeration | , | ||
lduMesh | , | ||
(const lduMesh &mesh, const dictionary &controlDict) | , | ||
(mesh, controlDict) | |||
) |
Runtime selection table for pure geometric agglomerators.
declareRunTimeSelectionTable | ( | autoPtr | , |
GAMGAgglomeration | , | ||
lduMatrix | , | ||
(const lduMatrix &matrix, const dictionary &controlDict) | , | ||
(matrix, controlDict) | |||
) |
Runtime selection table for matrix or mixed geometric/matrix agglomerators
declareRunTimeSelectionTable | ( | autoPtr | , |
GAMGAgglomeration | , | ||
geometry | , | ||
(const lduMesh &mesh, const scalarField &cellVolumes, const vectorField &faceAreas, const dictionary &controlDict) | , | ||
(mesh, cellVolumes, faceAreas, controlDict) | |||
) |
Runtime selection table for matrix or mixed geometric/matrix agglomerators
|
static |
Return the selected geometric agglomerator.
Definition at line 292 of file GAMGAgglomeration.C.
References objectRegistry::cfindObject(), controlDict(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Time::libs(), mesh, dlLibraryTable::open(), fvMesh::thisDb(), objectRegistry::time(), and ensightPTraits< Type >::typeName.
|
static |
Return the selected matrix agglomerator.
Definition at line 341 of file GAMGAgglomeration.C.
References objectRegistry::cfindObject(), controlDict(), Time::libs(), mesh, lduMatrix::mesh(), Foam::New(), dlLibraryTable::open(), fvMesh::thisDb(), objectRegistry::time(), and ensightPTraits< Type >::typeName.
|
static |
Return the selected geometric agglomerator.
Definition at line 387 of file GAMGAgglomeration.C.
References objectRegistry::cfindObject(), controlDict(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, mesh, fvMesh::thisDb(), objectRegistry::time(), and ensightPTraits< Type >::typeName.
|
inline |
Definition at line 313 of file GAMGAgglomeration.H.
References GAMGAgglomeration::meshLevels_.
Referenced by pairGAMGAgglomeration::agglomerate(), assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), GAMGAgglomeration::compactLevels(), GAMGSolver::GAMGSolver(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), GAMGProcAgglomeration::printStats(), and dynamicOversetFvMesh::writeAgglomeration().
const Foam::lduMesh & meshLevel | ( | const label | leveli | ) | const |
Return LDU mesh of given level.
Definition at line 454 of file GAMGAgglomeration.C.
Referenced by pairGAMGAgglomeration::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), GAMGAgglomeration::compactLevels(), GAMGSolver::GAMGSolver(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), and GAMGProcAgglomeration::printStats().
bool hasMeshLevel | ( | const label | leveli | ) | const |
Do we have mesh for given level?
Definition at line 470 of file GAMGAgglomeration.C.
Referenced by GAMGAgglomeration::compactLevels(), GAMGSolver::GAMGSolver(), and GAMGProcAgglomeration::printStats().
const Foam::lduInterfacePtrsList & interfaceLevel | ( | const label | leveli | ) | const |
Return LDU interface addressing of given level.
Definition at line 483 of file GAMGAgglomeration.C.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), and GAMGSolver::GAMGSolver().
|
inline |
Return cell restrict addressing of given level.
Definition at line 331 of file GAMGAgglomeration.H.
References GAMGAgglomeration::restrictAddressing_.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), GAMGProcAgglomeration::printStats(), and dynamicOversetFvMesh::writeAgglomeration().
|
inline |
Return face restrict addressing of given level.
Definition at line 337 of file GAMGAgglomeration.H.
References GAMGAgglomeration::faceRestrictAddressing_.
Referenced by GAMGProcAgglomeration::printStats().
|
inline |
Definition at line 342 of file GAMGAgglomeration.H.
References GAMGAgglomeration::patchFaceRestrictAddressing_.
Referenced by GAMGProcAgglomeration::printStats().
|
inline |
Return face flip map of given level.
Definition at line 349 of file GAMGAgglomeration.H.
References GAMGAgglomeration::faceFlipMap_.
Referenced by GAMGAgglomeration::agglomerateLduAddressing().
|
inline |
Return number of coarse cells (before processor agglomeration)
Definition at line 355 of file GAMGAgglomeration.H.
References GAMGAgglomeration::nCells_.
Referenced by GAMGAgglomeration::compactLevels(), and GAMGProcAgglomeration::printStats().
|
inline |
Return number of coarse faces (before processor agglomeration)
Definition at line 361 of file GAMGAgglomeration.H.
References GAMGAgglomeration::nFaces_.
Referenced by GAMGProcAgglomeration::printStats().
|
inline |
Return number of coarse patch faces (before processor agglomeration)
Definition at line 368 of file GAMGAgglomeration.H.
References GAMGAgglomeration::nPatchFaces_.
Referenced by GAMGAgglomeration::agglomerateLduAddressing().
void restrictField | ( | Field< Type > & | cf, |
const Field< Type > & | ff, | ||
const label | fineLevelIndex, | ||
const bool | procAgglom | ||
) | const |
Restrict (integrate by summation) cell field.
Definition at line 52 of file GAMGAgglomerationTemplates.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, globalIndex::gather(), UPstream::msgType(), UPstream::nonBlocking, splitCell::parent(), and UList< T >::size().
Referenced by MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration().
void restrictFaceField | ( | Field< Type > & | cf, |
const Field< Type > & | ff, | ||
const label | fineLevelIndex | ||
) | const |
Restrict (integrate by summation) face field.
Definition at line 97 of file GAMGAgglomerationTemplates.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, UList< T >::size(), and Foam::Zero.
Referenced by pairGAMGAgglomeration::agglomerate(), and MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration().
void restrictField | ( | Field< Type > & | cf, |
const Field< Type > & | ff, | ||
const labelList & | fineToCoarse | ||
) | const |
Restrict (integrate by summation) cell field.
Definition at line 35 of file GAMGAgglomerationTemplates.C.
References forAll, and Foam::Zero.
void prolongField | ( | Field< Type > & | ff, |
const Field< Type > & | cf, | ||
const label | coarseLevelIndex, | ||
const bool | procAgglom | ||
) | const |
Prolong (interpolate by injection) cell field.
Definition at line 130 of file GAMGAgglomerationTemplates.C.
References forAll, UPstream::msgType(), UPstream::nonBlocking, splitCell::parent(), and globalIndex::scatter().
|
static |
Given fine to coarse processor map determine:
Definition at line 674 of file GAMGAgglomerateLduAddressing.C.
References HashTable< T, Key, Hash >::find(), UList< T >::find(), Foam::findIndices(), forAll, forAllConstIters, HashTable< T, Key, Hash >::insert(), Foam::min(), processorFaPatch::myProcNo(), List< T >::setSize(), HashTable< T, Key, Hash >::size(), and UList< T >::size().
Referenced by eagerGAMGProcAgglomeration::agglomerate(), masterCoarsestGAMGProcAgglomeration::agglomerate(), and procFacesGAMGProcAgglomeration::agglomerate().
|
inline |
Whether to agglomerate across processors.
Definition at line 435 of file GAMGAgglomeration.H.
References bool, and GAMGAgglomeration::procAgglomeratorPtr_.
Referenced by GAMGAgglomeration::compactLevels(), GAMGAgglomeration::GAMGAgglomeration(), and GAMGSolver::GAMGSolver().
const Foam::labelList & procAgglomMap | ( | const label | fineLeveli | ) | const |
Mapping from processor to agglomerated processor (global, all processors have the same information). Note that level is the fine, not the coarse, level index. This is to be consistent with the way the restriction is stored
Definition at line 519 of file GAMGAgglomeration.C.
Referenced by GAMGSolver::GAMGSolver().
const Foam::labelList & agglomProcIDs | ( | const label | fineLeveli | ) | const |
Set of processors to agglomerate. Element 0 is the master processor. (local, same only on those processors that agglomerate)
Definition at line 528 of file GAMGAgglomeration.C.
Referenced by GAMGSolver::GAMGSolver().
bool hasProcMesh | ( | const label | fineLeveli | ) | const |
Check that level has combined mesh.
Definition at line 537 of file GAMGAgglomeration.C.
Referenced by GAMGSolver::GAMGSolver().
Foam::label procCommunicator | ( | const label | fineLeveli | ) | const |
Communicator for current level or -1.
Definition at line 543 of file GAMGAgglomeration.C.
const Foam::labelList & cellOffsets | ( | const label | fineLeveli | ) | const |
Mapping from processor to procMesh cells.
Definition at line 549 of file GAMGAgglomeration.C.
const Foam::labelListList & faceMap | ( | const label | fineLeveli | ) | const |
Mapping from processor to procMesh face.
Definition at line 558 of file GAMGAgglomeration.C.
const Foam::labelListList & boundaryMap | ( | const label | fineLeveli | ) | const |
Mapping from processor to procMesh boundary.
Definition at line 567 of file GAMGAgglomeration.C.
const Foam::labelListListList & boundaryFaceMap | ( | const label | fineLeveli | ) | const |
Mapping from processor to procMesh boundary face.
Definition at line 576 of file GAMGAgglomeration.C.
|
static |
Given restriction determines if coarse cells are connected.
Return ok is so, otherwise creates new restriction that is
Definition at line 585 of file GAMGAgglomeration.C.
References Foam::abort(), List< T >::append(), Foam::FatalError, FatalErrorInFunction, UList< T >::find(), forAll, UList< T >::found(), Foam::identity(), lduAddressing::lowerAddr(), Foam::reduce(), List< T >::setSize(), lduAddressing::size(), UList< T >::size(), and lduAddressing::upperAddr().
|
friend |
Declare friendship with GAMGProcAgglomeration.
Definition at line 206 of file GAMGAgglomeration.H.
|
protected |
Max number of levels.
Definition at line 73 of file GAMGAgglomeration.H.
Referenced by pairGAMGAgglomeration::agglomerate(), GAMGAgglomeration::GAMGAgglomeration(), and MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration().
|
protected |
Number of cells in coarsest level.
Definition at line 76 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::GAMGAgglomeration().
|
protected |
Cached mesh interfaces.
Definition at line 79 of file GAMGAgglomeration.H.
|
protected |
Definition at line 81 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::compactLevels(), and GAMGAgglomeration::processorAgglomerate().
|
protected |
The number of cells in each level.
Definition at line 84 of file GAMGAgglomeration.H.
Referenced by pairGAMGAgglomeration::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), GAMGAgglomeration::compactLevels(), dummyAgglomeration::dummyAgglomeration(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), and GAMGAgglomeration::nCells().
|
protected |
Cell restriction addressing array.
Maps from the finer to the coarser level.
Definition at line 88 of file GAMGAgglomeration.H.
Referenced by pairGAMGAgglomeration::agglomerate(), GAMGAgglomeration::compactLevels(), dummyAgglomeration::dummyAgglomeration(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), GAMGProcAgglomeration::printStats(), and GAMGAgglomeration::restrictAddressing().
|
protected |
The number of (coarse) faces in each level.
max(faceRestrictAddressing)+1.
Definition at line 92 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), GAMGAgglomeration::compactLevels(), and GAMGAgglomeration::nFaces().
Face restriction addressing array.
Maps from the finer to the coarser level. Positive indices map the finer faces which form part of the boundary of the coarser cells to the corresponding coarser cell face. Negative indices map the finer faces which are internal to the coarser cells to minus the corresponding coarser cell index minus 1.
Definition at line 100 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), GAMGAgglomeration::compactLevels(), and GAMGAgglomeration::faceRestrictAddressing().
Face flip: for faces mapped to internal faces stores whether.
the face is reversed or not. This is used to avoid having to access the coarse mesh at all when mapping
Definition at line 105 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), GAMGAgglomeration::compactLevels(), and GAMGAgglomeration::faceFlipMap().
The number of (coarse) patch faces in each level.
max(patchFaceRestrictAddressing_)+1.
Definition at line 109 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), GAMGAgglomeration::compactLevels(), and GAMGAgglomeration::nPatchFaces().
|
protected |
Patch-local face restriction addressing array.
Maps from the finer to the coarser level. Always positive. Extracted from GAMGInterfaces after agglomeration.
Definition at line 114 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), GAMGAgglomeration::compactLevels(), and GAMGAgglomeration::patchFaceRestrictAddressing().
|
protected |
Hierarchy of mesh addressing.
Definition at line 117 of file GAMGAgglomeration.H.
Referenced by pairGAMGAgglomeration::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), GAMGAgglomeration::compactLevels(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), and GAMGAgglomeration::size().
Per level, per processor the processor it agglomerates into.
Definition at line 123 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::compactLevels(), GAMGAgglomeration::GAMGAgglomeration(), and GAMGProcAgglomeration::printStats().
Per level the set of processors to agglomerate. Element 0 is.
the 'master' of the cluster.
Definition at line 127 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::compactLevels(), GAMGAgglomeration::GAMGAgglomeration(), and GAMGProcAgglomeration::printStats().
|
mutableprotected |
Communicator for given level.
Definition at line 130 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::compactLevels(), GAMGAgglomeration::GAMGAgglomeration(), and GAMGProcAgglomeration::printStats().
Mapping from processor to procMeshLevel cells.
Definition at line 133 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::compactLevels(), GAMGAgglomeration::GAMGAgglomeration(), and GAMGProcAgglomeration::printStats().
|
mutableprotected |
Mapping from processor to procMeshLevel face.
Definition at line 136 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::compactLevels(), and GAMGAgglomeration::GAMGAgglomeration().
|
mutableprotected |
Mapping from processor to procMeshLevel boundary.
Definition at line 139 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::compactLevels(), and GAMGAgglomeration::GAMGAgglomeration().
|
mutableprotected |
Mapping from processor to procMeshLevel boundary face.
Definition at line 142 of file GAMGAgglomeration.H.
Referenced by GAMGAgglomeration::compactLevels(), and GAMGAgglomeration::GAMGAgglomeration().