OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

Foam::PstreamGlobals Namespace Reference


Functions

void gammaWait (const label procNo)
label copyReceive (const label procNo, char *buf, const label bufSize)
label getSizeFromHeader (const char *buf, const label len)
void setResizeMessage (const label len)
label getMaxBufSize (const int procNo)

Variables

FixedList< List< List< char > >, 4 > recvBuf
FixedList< labelList, 4 > recvBufLen
labelList recvIndex
labelList consumeIndex
const int resizeMessageLen = 6
uint64_t resizeMessage []
const int initialBufferLen = 2*resizeMessageLen*sizeof(uint64_t)

Function Documentation

void Foam::PstreamGlobals::gammaWait ( const label  procNo  ) 

label Foam::PstreamGlobals::copyReceive ( const label  procNo,
char *  buf,
const label  bufSize 
)

label Foam::PstreamGlobals::getSizeFromHeader ( const char *  buf,
const label  len 
)

void Foam::PstreamGlobals::setResizeMessage ( const label  len  ) 

label Foam::PstreamGlobals::getMaxBufSize ( const int  procNo  ) 


Variable Documentation

FixedList<List<List<char> >, 4> recvBuf

const int resizeMessageLen = 6

Definition at line 86 of file PstreamGlobals.H.

uint64_t resizeMessage[]

const int initialBufferLen = 2*resizeMessageLen*sizeof(uint64_t)

Definition at line 89 of file PstreamGlobals.H.

Copyright © 2000-2007 OpenCFD Ltd