70 Foam::cyclicGAMGInterface::cyclicGAMGInterface
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);
152 Foam::cyclicGAMGInterface::cyclicGAMGInterface
189 pnf[facei] = iF[nbrFaceCells[facei]];
Field< label > labelField
Specialisation of Field<T> for label.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
#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
commsTypes
Types of communications.
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 void write(Ostream &) const
Write to stream.
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.
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)
addNamedToRunTimeSelectionTable(GAMGProcAgglomeration, noneGAMGProcAgglomeration, GAMGAgglomeration, none)
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.
virtual const labelUList & faceCells() const
Return faceCell addressing.
T & ref() const
Return non-const reference or generate a fatal error.
virtual ~cyclicGAMGInterface()
Destructor.
GAMG agglomerated cyclic interface.