38#ifndef Foam_GAMGProcAgglomeration_H
39#define Foam_GAMGProcAgglomeration_H
80 const label fineLevelIndex,
84 const label procAgglomComm
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Geometric agglomerated algebraic multigrid agglomeration class.
virtual bool agglomerate()=0
Modify agglomeration.
GAMGAgglomeration & agglom_
Reference to agglomeration.
static autoPtr< GAMGProcAgglomeration > New(const word &type, GAMGAgglomeration &agglom, const dictionary &controlDict)
Return the selected agglomerator.
void printStats(Ostream &os, GAMGAgglomeration &agglom) const
Debug: write agglomeration info.
void clearCommunicators()
Clear/free allocated communicators.
DynamicList< label > comms_
Allocated communicators.
static labelListList globalCellCells(const lduMesh &)
Debug: calculate global cell-cells.
declareRunTimeSelectionTable(autoPtr, GAMGProcAgglomeration, GAMGAgglomeration,(GAMGAgglomeration &agglom, const dictionary &controlDict),(agglom, controlDict))
Runtime selection table for pure geometric agglomerators.
TypeName("GAMGProcAgglomeration")
Runtime type information.
virtual ~GAMGProcAgglomeration()
Destructor. Clears allocated communicators.
void operator=(const GAMGProcAgglomeration &)=delete
No copy assignment.
GAMGProcAgglomeration(const GAMGProcAgglomeration &)=delete
No copy construct.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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...
Simplest concrete lduMesh that stores the addressing needed by lduMatrix.
A class for handling words, derived from Foam::string.
runTime controlDict().readEntry("adjustTimeStep"
OBJstream os(runTime.globalPath()/outputName)
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.