92 const label fineLevelIndex,
93 const label coarseComm
109 localRestrictAddressing.
size()
115 2*localRestrictAddressing.
size()
118 forAll(localRestrictAddressing, ffi)
129 localRestrictAddressing[ffi],
130 neighbourRestrictAddressing[ffi]
138 neighbourRestrictAddressing[ffi],
139 localRestrictAddressing[ffi]
144 cellsToCoarseFace.
find(cellPair);
146 if (fnd == cellsToCoarseFace.
end())
150 dynFaceRestrictAddressing.
append(coarseI);
151 dynFaceCells.
append(localRestrictAddressing[ffi]);
152 cellsToCoarseFace.
insert(cellPair, coarseI);
157 dynFaceRestrictAddressing.
append(fnd());
202 pnf[facei] = iF[nbrFaceCells[facei]];
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
Abstract base class for GAMG agglomerated interfaces.
labelList faceRestrictAddressing_
Face restrict addressing.
labelList faceCells_
Face-cell addressing.
virtual const labelUList & faceCells() const
Return faceCell addressing.
virtual void write(Ostream &) const =0
Write to stream.
An STL-conforming hash table.
bool insert(const Key &, const T &newElmt)
Insert a new hashedEntry.
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
commsTypes
Types of communications.
GAMG agglomerated cyclic interface.
virtual void write(Ostream &) const
Write to stream.
virtual bool owner() const
cyclicGAMGInterface(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,.
virtual ~cyclicGAMGInterface()
Destructor.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
An abstract base class for cyclic coupled interfaces.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
Pair< label > labelPair
Label pair.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
To & refCast(From &r)
Reference type cast template function.
addNamedToRunTimeSelectionTable(parcelCloud, collidingCloud, viscosity, collidingCloud)
dimensionSet transform(const dimensionSet &)
defineTypeNameAndDebug(combustionModel, 0)
Field< label > labelField
Specialisation of Field<T> for label.
label readLabel(Istream &is)
static iteratorEnd end()
iteratorEnd set to beyond the end of any HashTable