Go to the documentation of this file.
36 #ifndef MGridGenGAMGAgglomeration_H
37 #define MGridGenGAMGAgglomeration_H
44 # include "mgridgen.h"
The class contains the addressing required by the lduMatrix: upper, lower and losort.
void operator=(const MGridGenGAMGAgglomeration &)
Disallow default bitwise assignment.
Geometric agglomerated algebraic multigrid agglomeration class.
A class for managing temporary objects.
Agglomerate using the MGridGen algorithm.
void getNbrAgglom(const lduAddressing &addr, const lduInterfacePtrsList &interfaces, const PtrList< labelList > &nbrGlobalAgglom, labelList &cellToNbrAgglom) const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
TypeName("MGridGen")
Runtime type information.
runTime controlDict().lookup("adjustTimeStep") >> adjustTimeStep
const lduMesh & mesh() const
tmp< labelField > agglomerate(label &nCoarseCells, const label minSize, const label maxSize, const lduAddressing &fineAddressing, const scalarField &V, const scalarField &magSf, const scalarField &magSb)
Calculate and return agglomeration.
void detectSharedFaces(const lduMesh &mesh, const labelList &value, labelHashSet &sharedFaces) const
void makeCompactCellFaceAddressingAndFaceWeights(const lduAddressing &fineAddressing, List< idxtype > &cellCells, List< idxtype > &cellCellOffsets, const scalarField &magSi, List< scalar > &faceWeights)
Construct the CSR format addressing.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
MGridGenGAMGAgglomeration(const MGridGenGAMGAgglomeration &)
Disallow default bitwise copy construct.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void swap(const lduInterfacePtrsList &interfaces, const labelUList &cellValues, PtrList< labelList > &nbrValues) const
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...