Ignore:
Timestamp:
04/15/20 13:23:39 (4 years ago)
Author:
ymipsl
Message:

Some update...

YM

File:
1 edited

Legend:

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

    r1848 r1869  
    114114 
    115115         void closeDefinition(void); 
    116  
     116         void closeDefinition_old(void); 
     117 
     118         // to be removed      
     119         std::vector<CField*> findAllEnabledFieldsInFiles(const std::vector<CFile*>& activeFiles); 
    117120         // Some functions to process context 
    118          void findAllEnabledFieldsInFiles(const std::vector<CFile*>& activeFiles); 
     121         std::vector<CField*> findAllEnabledFieldsInFileOut(const std::vector<CFile*>& activeFiles); 
     122         std::vector<CField*> findAllEnabledFieldsInFileIn(const std::vector<CFile*>& activeFiles); 
     123         std::vector<CField*> findAllEnabledFieldsCouplerOut(const std::vector<CCouplerOut*>& activeCouplerOut); 
     124         std::vector<CField*> findAllEnabledFieldsCouplerIn(const std::vector<CCouplerIn*>& activeCouplerIn); 
    119125         // void findAllEnabledFields(void); 
    120126         // void findAllEnabledFieldsInReadModeFiles(void); 
     
    156162 
    157163         // Distribute files (in write mode) among secondary-server pools according to the estimated data flux 
    158          void distributeFiles(void); 
    159          void distributeFileOverBandwith() ; 
    160          void distributeFileOverMemoryBandwith() ; 
     164         void distributeFiles(const std::vector<CFile*>& files); 
     165         void distributeFileOverBandwith(const std::vector<CFile*>& files) ; 
     166         void distributeFileOverMemoryBandwith(const std::vector<CFile*>& files) ; 
    161167          
    162168         // Send context close definition 
     
    244250         bool setProcessingEvent(void) {isProcessingEvent_=true ;} 
    245251         bool unsetProcessingEvent(void) {isProcessingEvent_=false ;} 
    246          MPI_Comm getIntraComm(void) { return intraComm_ ;} 
     252         MPI_Comm getIntraComm(void) {return intraComm_ ;} 
     253         int getIntraCommRank(void) {return intraCommRank_;} 
     254         int getIntraCommSize(void) {return intraCommSize_;} 
    247255 
    248256         void addCouplingChanel(const std::string& contextId, bool out) ; 
     
    265273         // List of all enabled fields whose instant data is accessible from the public API 
    266274         // but which are not part of a file 
    267          std::vector<CField*> fieldsWithReadAccess; 
     275         std::vector<CField*> fieldsWithReadAccess_; 
    268276 
    269277         // Context root 
Note: See TracChangeset for help on using the changeset viewer.