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

PstreamGlobals.H File Reference


Detailed Description

View PstreamGlobals.H
License
This file is part of OpenFOAM.

OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.

OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description

Source files

Definition in file PstreamGlobals.H.

Go to the source code of this file.


Namespaces

namespace  Foam
namespace  Foam::PstreamGlobals

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)
Copyright © 2000-2007 OpenCFD Ltd