40 calculatedProcessorGAMGInterface,
46 calculatedProcessorGAMGInterface,
54 Foam::calculatedProcessorGAMGInterface::calculatedProcessorGAMGInterface
61 const label fineLevelIndex,
62 const label coarseComm
84 localRestrictAddressing.
size()
90 forAll(localRestrictAddressing, ffi)
101 localRestrictAddressing[ffi],
102 neighbourRestrictAddressing[ffi]
110 neighbourRestrictAddressing[ffi],
111 localRestrictAddressing[ffi]
115 const auto fnd = cellsToCoarseFace.cfind(cellPair);
120 dynFaceRestrictAddressing.append(fnd.val());
125 label coarseI = dynFaceCells.size();
126 dynFaceRestrictAddressing.append(coarseI);
127 dynFaceCells.append(localRestrictAddressing[ffi]);
128 cellsToCoarseFace.insert(cellPair, coarseI);
137 Foam::calculatedProcessorGAMGInterface::calculatedProcessorGAMGInterface
143 const label coarseComm,
144 const label myProcNo,
145 const label neighbProcNo,
155 faceRestrictAddresssing
159 neighbProcNo_(neighbProcNo),
165 Foam::calculatedProcessorGAMGInterface::calculatedProcessorGAMGInterface
189 send(commsType, interfaceInternalField(iF)());
void size(const label n)
Older name for setAddressableSize.
virtual int neighbProcNo() const
Return neighbour processor number (rank in communicator)
commsTypes
Communications types.
void transfer(List< T > &list)
Transfer the contents of the argument List into this list and annul the argument list.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
labelList faceRestrictAddressing_
Face restrict addressing.
Smooth ATC in cells next to a set of patches supplied by type.
Macros for easy insertion into run-time selection tables.
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.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
virtual void initInternalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Initialise neighbour field transfer.
A HashTable to objects of type <T> with a labelPair key. The hashing is based on labelPair (FixedList...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
An abstract base class for processor coupled interfaces.
Pair< label > labelPair
A pair of labels.
OBJstream os(runTime.globalPath()/outputName)
defineTypeNameAndDebug(combustionModel, 0)
virtual void write(Ostream &os) const
Write to stream.
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...
labelList faceCells_
Face-cell addressing.
A class for managing temporary objects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual int myProcNo() const
Return processor number (rank in communicator)
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)
static constexpr const zero Zero
Global zero (0)