92 const label fineLevelIndex,
93 const label coarseComm
99 refCast<const cyclicLduInterface>(fineInterface).nbrPatchID()
101 owner_(refCast<const cyclicLduInterface>(fineInterface).owner()),
102 transform_(refCast<const cyclicLduInterface>(fineInterface).
transform())
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())
149 label coarseI = dynFaceCells.size();
150 dynFaceRestrictAddressing.append(coarseI);
151 dynFaceCells.append(localRestrictAddressing[ffi]);
152 cellsToCoarseFace.insert(cellPair, coarseI);
157 dynFaceRestrictAddressing.append(fnd());
161 faceCells_.transfer(dynFaceCells);
162 faceRestrictAddressing_.transfer(dynFaceRestrictAddressing);
202 pnf[facei] = iF[nbrFaceCells[facei]];
Field< label > labelField
Specialisation of Field<T> for label.
#define forAll(list, i)
Loop across all elements in list.
static iteratorEnd end()
iteratorEnd set to beyond the end of any HashTable
commsTypes
Types of communications.
T & ref() const
Return non-const reference or generate a fatal error.
virtual const labelUList & faceCells() const
Return faceCell addressing.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
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.
An ordered pair of two objects of type <T> with first() and second() elements.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
Pair< label > labelPair
Label pair.
An STL-conforming hash table.
label readLabel(Istream &is)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
Abstract base class for GAMG agglomerated interfaces.
virtual void write(Ostream &) const =0
Write to stream.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches...
A class for managing temporary objects.
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,.
addNamedToRunTimeSelectionTable(parcelCloud, collidingCloud, viscosity, collidingCloud)
virtual ~cyclicGAMGInterface()
Destructor.
virtual void write(Ostream &) const
Write to stream.
GAMG agglomerated cyclic interface.
dimensionSet transform(const dimensionSet &)