39 #ifndef Foam_processorLduInterface_H 40 #define Foam_processorLduInterface_H 71 static void resizeBuf(
List<char>& buf,
const label len)
101 virtual label
comm()
const = 0;
113 virtual int tag()
const = 0;
void size(const label n)
Older name for setAddressableSize.
void send(const UPstream::commsTypes commsType, const UList< Type > &f) const
Raw send function.
commsTypes
Communications types.
processorLduInterface() noexcept=default
Default construct.
virtual ~processorLduInterface()=default
Destructor.
void resize_nocopy(const label len)
Adjust allocated size of list without necessarily.
Forward declarations of the specialisations of Field<T> for scalar, vector and tensor.
TypeNameNoDebug("processorLduInterface")
Runtime type information.
virtual label comm() const =0
Return communicator used for parallel communication.
virtual int tag() const =0
Return message tag used for sending.
virtual const tensorField & forwardT() const =0
Return face transformation tensor.
An abstract base class for processor coupled interfaces.
void compressedReceive(const UPstream::commsTypes commsType, UList< Type > &f) const
Raw receive function with data compression.
virtual int neighbProcNo() const =0
Return neighbour processor number (rank in communicator)
virtual int myProcNo() const =0
Return processor number (rank in communicator)
A class for managing temporary objects.
void compressedSend(const UPstream::commsTypes commsType, const UList< Type > &f) const
Raw send function with data compression.
void receive(const UPstream::commsTypes commsType, UList< Type > &f) const
Raw receive function.