39#ifndef Foam_processorLduInterface_H
40#define Foam_processorLduInterface_H
70 static void resizeBuf(
List<char>& buf,
const label len);
94 virtual label
comm()
const = 0;
106 virtual int tag()
const = 0;
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
commsTypes
Types of communications.
An abstract base class for processor coupled interfaces.
virtual label comm() const =0
Return communicator used for parallel communication.
void compressedSend(const Pstream::commsTypes commsType, const UList< Type > &f) const
Raw send function with data compression.
tmp< Field< Type > > receive(const Pstream::commsTypes commsType, const label size) const
Raw receive function returning field.
virtual int neighbProcNo() const =0
Return neighbour processor number (rank in communicator)
virtual int myProcNo() const =0
Return processor number (rank in communicator)
void receive(const Pstream::commsTypes commsType, UList< Type > &f) const
Raw receive function.
tmp< Field< Type > > compressedReceive(const Pstream::commsTypes commsType, const label size) const
Raw receive function with data compression returning field.
TypeName("processorLduInterface")
Runtime type information.
processorLduInterface()=default
Default construct.
virtual const tensorField & forwardT() const =0
Return face transformation tensor.
void compressedReceive(const Pstream::commsTypes commsType, UList< Type > &f) const
Raw receive function with data compression.
virtual int tag() const =0
Return message tag used for sending.
virtual ~processorLduInterface()=default
Destructor.
void send(const Pstream::commsTypes commsType, const UList< Type > &f) const
Raw send function.
A class for managing temporary objects.
Forward declarations of the specialisations of Field<T> for scalar, vector and tensor.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.