38 #ifndef Foam_GAMGProcAgglomeration_H 39 #define Foam_GAMGProcAgglomeration_H 51 class GAMGAgglomeration;
53 class lduPrimitiveMesh;
80 const label fineLevelIndex,
84 const label procAgglomComm
DynamicList< label > comms_
Allocated communicators.
GAMGAgglomeration & agglom_
Reference to agglomeration.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
void printStats(Ostream &os, GAMGAgglomeration &agglom) const
Debug: write agglomeration info.
TypeName("GAMGProcAgglomeration")
Runtime type information.
static autoPtr< GAMGProcAgglomeration > New(const word &type, GAMGAgglomeration &agglom, const dictionary &controlDict)
Return the selected agglomerator.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
void clearCommunicators()
Clear/free allocated communicators.
A class for handling words, derived from Foam::string.
GAMGProcAgglomeration(const GAMGProcAgglomeration &)=delete
No copy construct.
runTime controlDict().readEntry("adjustTimeStep"
The central control dictionary, the contents of which are either taken directly from the FOAM_CONTROL...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
void operator=(const GAMGProcAgglomeration &)=delete
No copy assignment.
static labelListList globalCellCells(const lduMesh &)
Debug: calculate global cell-cells.
virtual bool agglomerate()=0
Modify agglomeration.
Processor agglomeration of GAMGAgglomerations.
declareRunTimeSelectionTable(autoPtr, GAMGProcAgglomeration, GAMGAgglomeration,(GAMGAgglomeration &agglom, const dictionary &controlDict),(agglom, controlDict))
Runtime selection table for pure geometric agglomerators.
virtual ~GAMGProcAgglomeration()
Destructor. Clears allocated communicators.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
Geometric agglomerated algebraic multigrid agglomeration class.