Ignore:
Timestamp:
09/16/20 18:34:23 (4 years ago)
Author:
ymipsl
Message:

Big update on on going work related to data distribution and transfer between clients and servers.
Revisite of the source and store filter using "connectors".

-> inputs work again

YM

File:
1 edited

Legend:

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

    r1930 r1934  
    548548        void distributeGridToFileServer(CContextClient* client); 
    549549       
     550             
     551      private: 
     552        CGridLocalConnector* workflowToFullConnector_ = nullptr; 
     553      public: 
     554        void computeWorkflowToFullConnector(void) ; 
     555        CGridLocalConnector* getWorkflowToFullConnector(void) { if (workflowToFullConnector_==nullptr) computeWorkflowToFullConnector() ; return workflowToFullConnector_;} 
     556 
     557      private: 
     558        CGridLocalConnector* fullToWorkflowConnector_ = nullptr; 
     559      public: 
     560        void computeFullToWorkflowConnector(void) ; 
     561        CGridLocalConnector* getFullToWorkflowConnector(void) { if (fullToWorkflowConnector_==nullptr) computeFullToWorkflowConnector() ; return fullToWorkflowConnector_;} 
     562 
     563     
     564 
     565      private: 
     566         CGridGathererConnector* clientFromClientConnector_ = nullptr ; 
     567      public: 
     568         CGridGathererConnector* getClientFromClientConnector(void) { if (clientFromClientConnector_==nullptr) computeClientFromClientConnector() ; return clientFromClientConnector_;} 
     569         void computeClientFromClientConnector(void) ; 
     570 
     571      private: 
     572         map<CContextClient*, CGridScattererConnector*> clientToClientConnector_ ; 
     573      public: 
     574         CGridScattererConnector* getClientToClientConnector(CContextClient* client) { return clientToClientConnector_[client] ;} // make some test to see if connector exits for the given client 
     575   
     576 
     577      private: 
     578         map<CContextClient*,CGridGathererConnector*> clientFromServerConnector_  ; 
     579      public: 
     580         CGridGathererConnector* getClientFromServerConnector(CContextClient* client) { return clientFromServerConnector_[client];} 
     581         void computeClientFromServerConnector(void) ; 
     582 
     583      private: 
     584         CGridScattererConnector* serverToClientConnector_=nullptr ; 
     585      public: 
     586         CGridScattererConnector* getServerToClientConnector(void) { if (serverToClientConnector_==nullptr) computeServerToClientConnector() ; return serverToClientConnector_;} 
     587         void computeServerToClientConnector(void) ; 
    550588      private: 
    551589         map<CContextClient*, CGridScattererConnector*> clientToServerConnector_ ; 
     
    558596         CGridGathererConnector* getServerFromClientConnector(void) { if (serverFromClientConnector_==nullptr) computeServerFromClientConnector() ; return serverFromClientConnector_;} 
    559597         void computeServerFromClientConnector(void) ; 
    560           
    561       private: 
    562         CGridLocalConnector* workflowToFullConnector_ = nullptr; 
    563       public: 
    564         void computeWorkflowToFullConnector(void) ; 
    565         CGridLocalConnector* getWorkflowToFullConnector(void) { if (workflowToFullConnector_==nullptr) computeWorkflowToFullConnector() ; return workflowToFullConnector_;} 
    566  
    567       private: 
    568         CGridLocalConnector* fullToWorkflowConnector_ = nullptr; 
    569       public: 
    570         void computeFullToWorkflowConnector(void) ; 
    571         CGridLocalConnector* getFullToWorkflowConnector(void) { if (fullToWorkflowConnector_==nullptr) computeFullToWorkflowConnector() ; return fullToWorkflowConnector_;} 
    572  
    573       private: 
    574          CGridGathererConnector* clientFromClientConnector_ = nullptr ; 
    575       public: 
    576          CGridGathererConnector* getClientFromClientConnector(void) { if (clientFromClientConnector_==nullptr) computeClientFromClientConnector() ; return clientFromClientConnector_;} 
    577          void computeClientFromClientConnector(void) ; 
    578  
    579       private: 
    580          map<CContextClient*, CGridScattererConnector*> clientToClientConnector_ ; 
    581       public: 
    582          CGridScattererConnector* getClientToClientConnector(CContextClient* client) { return clientToClientConnector_[client] ;} // make some test to see if connector exits for the given client 
    583    
    584  
    585       private: 
    586          CGridGathererConnector* clientFromServerConnector_ = nullptr ; 
    587       public: 
    588          CGridGathererConnector* getClientFromServerConnector(void) { if (clientFromServerConnector_==nullptr) computeClientFromServerConnector() ; return clientFromServerConnector_;} 
    589          void computeClientFromServerConnector(void) ; 
    590598 
    591599   }; // class CGrid 
Note: See TracChangeset for help on using the changeset viewer.