Ignore:
Timestamp:
05/12/20 11:52:13 (4 years ago)
Author:
ymipsl
Message:

XIOS coupling branch
Some updates.

First coupling test is beginning to work...

YM

File:
1 edited

Legend:

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

    r1872 r1875  
    9090 
    9191         StdSize  getDataSize(void) ; 
     92 
     93         /** 
     94          * Get the local data grid size, ie the size of the compressed grid (inside the workflow) 
     95          * \return The size od the compressed grid 
     96          */ 
     97         StdSize  getLocalDataSize(void) ; 
    9298 
    9399         /// Entrees-sorties de champs 
     
    151157      private: 
    152158         std::set<CContextClient*> sendGridToFileServer_done_ ; 
    153        
     159      
     160      public: 
     161         void sendGridToCouplerOut(CContextClient* client, const string& fieldId) ; 
     162      private: 
     163         std::set<CContextClient*> sendGridToCouplerOut_done_ ; 
     164 
     165      public: 
     166         void makeAliasForCoupling(const string& fieldId) ; 
     167 
    154168      public: 
    155169         void sendAddDomain(const std::string& id,CContextClient* contextClient); 
     
    170184         static void recvIndex(CEventServer& event); 
    171185         void recvIndex(vector<int> ranks, vector<CBufferIn*> buffers, CContextServer* server); 
    172          void sendIndex(void); 
    173          void sendIndexScalarGrid(); 
    174  
     186        
     187       public:   
     188         void sendIndex(CContextClient* client, const string& gridId=""); 
     189       private: 
     190          set<CContextClient*> sendIndex_done_ ; 
     191        
     192       public: 
     193         void sendIndexScalarGrid(CContextClient* client, const string& gridId=""); 
     194       private: 
     195          set<CContextClient*> sendIndexScalarGrid_done_ ; 
     196       
     197       public: 
    175198         void setContextClient(CContextClient* contextClient); 
    176199 
     
    221244         bool hasTransform(); 
    222245         size_t getGlobalWrittenSize(void) ; 
    223          bool checkIfCompleted(void) ; 
     246          
     247         bool isCompleted(void) ; 
     248         void setCompleted(void) ; 
     249         void unsetCompleted(void) ; 
    224250 
    225251 
Note: See TracChangeset for help on using the changeset viewer.