Go to the documentation of this file.
39 processorGAMGInterface,
45 processorGAMGInterface,
60 const label fineLevelIndex,
61 const label coarseComm
70 myProcNo_(refCast<const processorLduInterface>(fineInterface).myProcNo()),
73 refCast<const processorLduInterface>(fineInterface).neighbProcNo()
75 forwardT_(refCast<const processorLduInterface>(fineInterface).forwardT()),
76 tag_(refCast<const processorLduInterface>(fineInterface).tag())
83 localRestrictAddressing.size()
89 2*localRestrictAddressing.size()
92 forAll(localRestrictAddressing, ffi)
98 if (myProcNo() < neighbProcNo())
103 localRestrictAddressing[ffi],
104 neighbourRestrictAddressing[ffi]
112 neighbourRestrictAddressing[ffi],
113 localRestrictAddressing[ffi]
118 cellsToCoarseFace.
find(cellPair);
120 if (fnd == cellsToCoarseFace.end())
123 label coarseI = dynFaceCells.size();
124 dynFaceRestrictAddressing.
append(coarseI);
125 dynFaceCells.
append(localRestrictAddressing[ffi]);
126 cellsToCoarseFace.
insert(cellPair, coarseI);
131 dynFaceRestrictAddressing.
append(fnd());
135 faceCells_.transfer(dynFaceCells);
136 faceRestrictAddressing_.transfer(dynFaceRestrictAddressing);
146 const label coarseComm,
147 const label myProcNo,
148 const label neighbProcNo,
158 faceRestrictAddresssing
162 neighbProcNo_(neighbProcNo),
201 send(commsType, interfaceInternalField(iF)());
static label warnComm
Debugging: warn for use of any communicator differing from warnComm.
virtual void write(Ostream &) const =0
Write to stream.
processorGAMGInterface(const processorGAMGInterface &)
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.
virtual void write(Ostream &) const
Write to stream.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
bool insert(const Key &, const T &newElmt)
Insert a new hashedEntry.
virtual ~processorGAMGInterface()
Destructor.
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.
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.
virtual void initInternalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Initialise neighbour field transfer.
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.
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)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
Pair< label > labelPair
Label pair.