41 const label fineLevelIndex,
42 const label coarseComm
50 fineRegionCoupledLduInterface_
52 refCast<const regionCoupledLduInterface>(fineInterface)
63 localRestrictAddressing.
size()
68 forAll(localRestrictAddressing, ffi)
70 label curMaster = localRestrictAddressing[ffi];
77 if (fnd == masterToCoarseFace.
end())
80 label coarseI = dynFaceCells.size();
81 dynFaceRestrictAddressing.append(coarseI);
82 dynFaceCells.append(curMaster);
83 masterToCoarseFace.insert(curMaster, coarseI);
88 dynFaceRestrictAddressing.append(fnd());
92 faceCells_.transfer(dynFaceCells);
93 faceRestrictAddressing_.transfer(dynFaceRestrictAddressing);
Field< label > labelField
Specialisation of Field<T> for label.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static iteratorEnd end()
iteratorEnd set to beyond the end of any HashTable
regionCoupledBaseGAMGInterface(const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &restrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm)
Construct from fine level interface,.
commsTypes
Types of communications.
void size(const label)
Override size to be inconsistent with allocated storage.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
Macros for easy insertion into run-time selection tables.
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
virtual ~regionCoupledBaseGAMGInterface()
Destructor.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Abstract base class for GAMG agglomerated interfaces.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches...
A class for managing temporary objects.