61 label nCreatedLevels = 0;
62 nCreatedLevels < nLevels_;
66 nCells_[nCreatedLevels] = nCoarseCells;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Geometric agglomerated algebraic multigrid agglomeration class.
void agglomerateLduAddressing(const label fineLevelIndex)
Assemble coarse mesh addressing.
void compactLevels(const label nCreatedLevels)
Shrink the number of levels to that specified.
labelList nCells_
The number of cells in each level.
PtrList< labelField > restrictAddressing_
Cell restriction addressing array.
const lduMesh & mesh() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Agglomerate without combining cells. Used for testing.
label size() const
Return number of equations.
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
virtual const lduAddressing & lduAddr() const =0
Return ldu addressing.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
runTime controlDict().readEntry("adjustTimeStep"
labelList identity(const label len, label start=0)
Return an identity map of the given length with (map[i] == i)
Field< label > labelField
Specialisation of Field<T> for label.