39#ifndef Foam_lduPrimitiveProcessorInterface_H
40#define Foam_lduPrimitiveProcessorInterface_H
170 virtual label
comm()
const
184 return neighbProcNo_;
194 virtual int tag()
const
commsTypes
Communications types.
static label worldComm
Communicator for all ranks. May differ from commGlobal() if local worlds are in use.
Smooth ATC in cells next to a set of patches supplied by type.
lduInterface() noexcept=default
Default construct.
virtual const labelUList & faceCells() const
Return faceCell addressing.
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.
int & tag()
Message tag used for sending (modifiable).
virtual label comm() const
Return communicator used for sending.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to the interface as a field.
lduPrimitiveProcessorInterface(const labelUList &faceCells, const label myProcNo, const label neighbProcNo, const tensorField &forwardT, const int tag, const label comm=UPstream::worldComm)
Construct from components.
virtual int tag() const
Return message tag used for sending.
virtual ~lduPrimitiveProcessorInterface()=default
Destructor.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
void operator=(const lduPrimitiveProcessorInterface &)=delete
No copy assignment.
TypeNameNoDebug("processorInterface")
Runtime type information.
virtual int neighbProcNo() const
Return neighbour processor number (rank in communicator).
virtual const tensorField & forwardT() const
Return face transformation tensor.
processorLduInterface() noexcept=default
Default construct.
A class for managing temporary objects.
List< label > labelList
A List of labels.
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
UList< label > labelUList
A UList of labels.
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.