48 Foam::oversetGAMGInterface::oversetGAMGInterface
55 const label fineLevelIndex,
56 const label coarseComm
82 localRestrictAddressing.
size()
87 for (
const label curMaster : localRestrictAddressing)
89 const auto iter = masterToCoarseFace.
cfind(curMaster);
94 dynFaceRestrictAddressing.append(iter.val());
99 const label coarseI = dynFaceCells.size();
101 dynFaceRestrictAddressing.append(coarseI);
102 dynFaceCells.append(curMaster);
103 masterToCoarseFace.insert(curMaster, coarseI);
void size(const label n)
Older name for setAddressableSize.
commsTypes
Communications types.
void transfer(List< T > &list)
Transfer the contents of the argument List into this list and annul the argument list.
labelList faceRestrictAddressing_
Face restrict addressing.
Macros for easy insertion into run-time selection tables.
const_iterator cfind(const Key &key) const
Find and return an const_iterator set at the hashed entry.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Abstract base class for GAMG agglomerated interfaces.
virtual ~oversetGAMGInterface()
Destructor.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches...
labelList faceCells_
Face-cell addressing.
A class for managing temporary objects.