Ignore:
Timestamp:
01/20/20 17:55:12 (4 years ago)
Author:
ymipsl
Message:

Coupling branch : replace hasServer and hasClient combination by the name of correct service : CLIENT, GATHERER or OUT_SERVER.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/context_client.hpp

    r1784 r1853  
    1414{ 
    1515  class CContext; 
    16  
     16  class CContextServer ; 
    1717  /*! 
    1818  \class CContextClient 
     
    6767      int getRemoteSize(void) {return serverSize;} 
    6868      int getServerSize(void) {return serverSize;} 
    69        
     69 
     70      /*! set the associated server (dual chanel client/server) */       
     71      void setAssociatedServer(CContextServer* associatedServer) { associatedServer=associatedServer_;} 
     72      /*! get the associated server (dual chanel client/server) */       
     73      CContextServer* getAssociatedServer(void) { return associatedServer_;} 
     74 
    7075    public: 
    7176      CContext* context; //!< Context for client 
     
    113118      std::vector<std::vector<MPI_Win> >windows ; //! one sided mpi windows to expose client buffers to servers == windows[nbServers][2] 
    114119      bool isAttached_ ; 
     120      CContextServer* associatedServer_ ; //!< The server associated to the pair client/server 
    115121 
    116122  }; 
Note: See TracChangeset for help on using the changeset viewer.