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);
143 const label coarseComm,
144 const label myProcNo,
145 const label neighbProcNo,
155 faceRestrictAddresssing
159 neighbProcNo_(neighbProcNo),
189 send(commsType, interfaceInternalField(iF)());
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void append(const T &val)
Copy append an element to the end of this list.
Abstract base class for GAMG agglomerated interfaces.
labelList faceRestrictAddressing_
Face restrict addressing.
labelList faceCells_
Face-cell addressing.
const_iterator cfind(const Key &key) const
Find and return an const_iterator set at the hashed entry.
bool insert(const Key &key, const T &obj)
Copy insert a new entry, not overwriting existing entries.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void transfer(List< T > &list)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
void size(const label n)
Older name for setAddressableSize.
commsTypes
Types of communications.
GAMG agglomerated processor interface.
virtual int myProcNo() const
Return processor number (rank in communicator)
virtual void initInternalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Initialise neighbour field transfer.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
virtual int neighbProcNo() const
Return neighbour processor number (rank in communicator)
Smooth ATC in cells next to a set of patches supplied by type.
virtual bool write()
Write the output fields.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
An abstract base class for processor coupled interfaces.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
OBJstream os(runTime.globalPath()/outputName)
A HashTable to objects of type <T> with a labelPair key. The hashing is based on labelPair (FixedList...
Pair< label > labelPair
A pair of labels.
To & refCast(From &r)
Reference type cast template function.
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
static constexpr const zero Zero
Global zero (0)
#define forAll(list, i)
Loop across all elements in list.