Go to the documentation of this file.
77 const label fineLevelIndex,
78 const label coarseComm
84 refCast<const cyclicLduInterface>(fineInterface).neighbPatchID()
86 owner_(refCast<const cyclicLduInterface>(fineInterface).owner()),
87 forwardT_(refCast<const cyclicLduInterface>(fineInterface).forwardT()),
88 reverseT_(refCast<const cyclicLduInterface>(fineInterface).reverseT())
95 localRestrictAddressing.size()
101 2*localRestrictAddressing.size()
104 forAll(localRestrictAddressing, ffi)
115 localRestrictAddressing[ffi],
116 neighbourRestrictAddressing[ffi]
124 neighbourRestrictAddressing[ffi],
125 localRestrictAddressing[ffi]
130 cellsToCoarseFace.
find(cellPair);
132 if (fnd == cellsToCoarseFace.end())
135 label coarseI = dynFaceCells.size();
136 dynFaceRestrictAddressing.
append(coarseI);
137 dynFaceCells.
append(localRestrictAddressing[ffi]);
138 cellsToCoarseFace.
insert(cellPair, coarseI);
143 dynFaceRestrictAddressing.
append(fnd());
147 faceCells_.transfer(dynFaceCells);
148 faceRestrictAddressing_.transfer(dynFaceRestrictAddressing);
189 pnf[facei] = iF[nbrFaceCells[facei]];
virtual ~cyclicGAMGInterface()
Destructor.
addNamedToRunTimeSelectionTable(fvPatch, cyclicAMIFvPatch, polyPatch, cyclicPeriodicAMI)
virtual void write(Ostream &) const =0
Write to stream.
cyclicGAMGInterface(const cyclicGAMGInterface &)
Disallow default bitwise copy construct.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
bool insert(const Key &, const T &newElmt)
Insert a new hashedEntry.
virtual void write(Ostream &) const
Write to stream.
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.
Field< label > labelField
Specialisation of Field<T> for label.
virtual const labelUList & faceCells() const
Return faceCell addressing.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Abstract base class for GAMG agglomerated interfaces.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Macros for easy insertion into run-time selection tables.
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
An STL-conforming hash table.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
commsTypes
Types of communications.
An ordered pair of two objects of type <T> with first() and second() elements.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label readLabel(Istream &is)
GAMG agglomerated cyclic interface.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
Pair< label > labelPair
Label pair.