source: XIOS3/trunk/src/buffer_cs_base.hpp @ 2628

Last change on this file since 2628 was 2246, checked in by ymipsl, 3 years ago
  • Update of the tranfer protocol using one sided communication
  • Introduce MPI_Improb/MPI_mrecv to listen incomming request
  • Introducing latency when looping over managers

YM

  • Property svn:executable set to *
File size: 597 bytes
Line 
1#ifndef __BUFFER_CS_BASE_HPP__
2#define __BUFFER_CS_BASE_HPP__
3
4namespace xios
5{
6  class CBufferClientServerBase
7  {
8    protected:
9
10      static const int headerSize_= 4*sizeof(size_t);
11      static const int timeLineOffset_ = 0 ; // in size_t
12      static const int countOffset_    = 1 ; // in size_t
13      static const int controlOffset_  = 2 ; // in size_t
14      static const int notifyOffset_   = 3 ; // in size_t
15
16      static const int notifyNothing_ = 0 ;
17      static const int notifyFinalize_ = 1 ;
18      static const int notifyResizeBuffer_ = 2 ;
19
20  } ;
21
22}
23
24#endif
Note: See TracBrowser for help on using the repository browser.