ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
walberla::pystencils::PackInfoVecSinglePrecision Class Reference

#include <PackInfoVecSinglePrecision.h>

+ Inheritance diagram for walberla::pystencils::PackInfoVecSinglePrecision:
+ Collaboration diagram for walberla::pystencils::PackInfoVecSinglePrecision:

Public Member Functions

 PackInfoVecSinglePrecision (BlockDataID fieldID_)
 
virtual ~PackInfoVecSinglePrecision ()
 
bool constantDataExchange () const
 
bool threadsafeReceiving () const
 
void unpackData (IBlock *receiver, stencil::Direction dir, mpi::RecvBuffer &buffer)
 
void communicateLocal (const IBlock *sender, IBlock *receiver, stencil::Direction dir)
 
void packDataImpl (const IBlock *sender, stencil::Direction dir, mpi::SendBuffer &outBuffer) const
 
void pack (stencil::Direction dir, unsigned char *buffer, IBlock *block) const
 
void unpack (stencil::Direction dir, unsigned char *buffer, IBlock *block) const
 
uint_t size (stencil::Direction dir, const IBlock *block) const
 

Detailed Description

Definition at line 45 of file PackInfoVecSinglePrecision.h.

Constructor & Destructor Documentation

◆ PackInfoVecSinglePrecision()

walberla::pystencils::PackInfoVecSinglePrecision::PackInfoVecSinglePrecision ( BlockDataID  fieldID_)
inline

Definition at line 48 of file PackInfoVecSinglePrecision.h.

◆ ~PackInfoVecSinglePrecision()

virtual walberla::pystencils::PackInfoVecSinglePrecision::~PackInfoVecSinglePrecision ( )
inlinevirtual

Definition at line 49 of file PackInfoVecSinglePrecision.h.

Member Function Documentation

◆ communicateLocal()

void walberla::pystencils::PackInfoVecSinglePrecision::communicateLocal ( const IBlock *  sender,
IBlock *  receiver,
stencil::Direction  dir 
)
inline

Definition at line 60 of file PackInfoVecSinglePrecision.h.

References unpackData().

◆ constantDataExchange()

bool walberla::pystencils::PackInfoVecSinglePrecision::constantDataExchange ( ) const
inline

Definition at line 51 of file PackInfoVecSinglePrecision.h.

◆ pack()

void walberla::pystencils::PackInfoVecSinglePrecision::pack ( stencil::Direction  dir,
unsigned char *  buffer,
IBlock *  block 
) const

◆ packDataImpl()

void walberla::pystencils::PackInfoVecSinglePrecision::packDataImpl ( const IBlock *  sender,
stencil::Direction  dir,
mpi::SendBuffer &  outBuffer 
) const
inline

Definition at line 68 of file PackInfoVecSinglePrecision.h.

References pack(), and size().

◆ size()

uint_t walberla::pystencils::PackInfoVecSinglePrecision::size ( stencil::Direction  dir,
const IBlock *  block 
) const

Definition at line 176 of file PackInfoVecSinglePrecision.cpp.

References block().

Referenced by packDataImpl(), and unpackData().

◆ threadsafeReceiving()

bool walberla::pystencils::PackInfoVecSinglePrecision::threadsafeReceiving ( ) const
inline

Definition at line 52 of file PackInfoVecSinglePrecision.h.

◆ unpack()

void walberla::pystencils::PackInfoVecSinglePrecision::unpack ( stencil::Direction  dir,
unsigned char *  buffer,
IBlock *  block 
) const

◆ unpackData()

void walberla::pystencils::PackInfoVecSinglePrecision::unpackData ( IBlock *  receiver,
stencil::Direction  dir,
mpi::RecvBuffer &  buffer 
)
inline

Definition at line 54 of file PackInfoVecSinglePrecision.h.

References size(), and unpack().

Referenced by communicateLocal().


The documentation for this class was generated from the following files: