Ignore:
Timestamp:
12/12/19 18:15:14 (5 years ago)
Author:
ymipsl
Message:
  • Preparing coupling functionalities.
  • Make some cleaner things

YM

File:
1 edited

Legend:

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

    r1766 r1784  
    2626   class CContext; 
    2727   class CFile; 
     28   class CCouplerIn ; 
     29   class CCouplerOut ; 
    2830   ///-------------------------------------------------------------- 
    2931 
     
    120122         void solveAllInheritance(bool apply=true); 
    121123         void findEnabledFiles(void); 
     124         void findEnabledCouplerIn(void); 
     125         void findEnabledCouplerOut(void); 
     126         void createCouplerInterCommunicator(void) ; 
    122127         void findEnabledWriteModeFiles(void); 
    123128         void findEnabledReadModeFiles(void); 
     
    128133         void checkAxisDomainsGridsEligibilityForCompressedOutput(); 
    129134         void prepareTimeseries(void); 
    130          void solveOnlyRefOfEnabledFields(bool sendToServer);          
     135         void solveOnlyRefOfEnabledFields(void);          
    131136         void buildFilterGraphOfEnabledFields(); 
    132137         void postProcessFilterGraph(); 
     
    140145         void postProcessingGlobalAttributes();          
    141146 
    142          void solveAllRefOfEnabledFieldsAndTransform(bool sendToServer); 
     147         void solveAllRefOfEnabledFieldsAndTransform(void); 
    143148         void checkGridEnabledFields(); 
    144149         void checkGridEnabledFieldsInFiles(const std::vector<CFile*>& activeFiles); 
     
    243248         bool setProcessingEvent(void) {isProcessingEvent_=true ;} 
    244249         bool unsetProcessingEvent(void) {isProcessingEvent_=false ;} 
     250         MPI_Comm getIntraComm(void) { return intraComm_ ;} 
     251 
     252         void addCouplingChanel(const std::string& contextId, bool out) ; 
    245253 
    246254      public : 
     
    255263         std::vector<CFile*> enabledWriteModeFiles; 
    256264 
     265         std::vector<CCouplerIn*> enabledCouplerIn; 
     266         std::vector<CCouplerOut*> enabledCouplerOut; 
     267 
     268 
    257269         // List of all enabled fields whose instant data is accessible from the public API 
    258270         // but which are not part of a file 
     
    272284         std::vector<CContextServer*> serverPrimServer; 
    273285         std::vector<CContextClient*> clientPrimServer; 
     286         std::map<std::string, CContextClient*> couplerClient_ ; 
     287         std::map<std::string, CContextServer*> couplerServer_ ; 
     288 
     289 
    274290         std::vector<std::string> primServerId_; 
    275291 
     
    279295 
    280296        MPI_Comm intraComm_ ; //! context intra communicator 
    281  
     297        int intraCommRank_ ; //! context intra communicator rank 
     298        int intraCommSize_ ; //! context intra communicator size 
     299         
    282300      private: 
    283301         bool isPostProcessed; 
Note: See TracChangeset for help on using the changeset viewer.