39 #ifndef Foam_lduPrimitiveProcessorInterface_H 40 #define Foam_lduPrimitiveProcessorInterface_H 170 virtual label
comm()
const 184 return neighbProcNo_;
194 virtual int tag()
const virtual label comm() const
Return communicator used for sending.
virtual int myProcNo() const
Return processor number (rank in communicator)
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual const labelUList & faceCells() const
Return faceCell addressing.
commsTypes
Communications types.
virtual ~lduPrimitiveProcessorInterface()=default
Destructor.
Smooth ATC in cells next to a set of patches supplied by type.
static label worldComm
Communicator for all ranks. May differ from commGlobal() if local worlds are in use.
virtual int neighbProcNo() const
Return neighbour processor number (rank in communicator)
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to the interface as a field.
virtual void initInternalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Initialise neighbour field transfer.
An abstract base class for processor coupled interfaces.
Concrete implementation of processor interface. Used to temporarily store settings.
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches...
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 tag() const
Return message tag used for sending.
A class for managing temporary objects.
lduPrimitiveProcessorInterface(const labelUList &faceCells, const label myProcNo, const label neighbProcNo, const tensorField &forwardT, const int tag, const label comm=UPstream::worldComm)
Construct from components.