48Foam::dummyAgglomeration::dummyAgglomeration
57 const label nCoarseCells =
mesh.lduAddr().
size();
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, const bool doProcessorAgglomerate)
Shrink the number of levels to that specified. Optionally do.
GAMGAgglomeration(const GAMGAgglomeration &)=delete
No copy construct.
labelList nCells_
The number of cells in each level.
PtrList< labelField > restrictAddressing_
Cell restriction addressing array.
bool set(const label i, bool val=true)
A bitSet::set() method for a list of bool.
const lduMesh & mesh() const noexcept
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Agglomerate without combining cells. Used for testing.
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
#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), works like std::iota() but returning a...
Field< label > labelField
Specialisation of Field<T> for label.