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/axis.hpp

    r1847 r1869  
    8686         void addRelFileCompressed(const StdString& filename); 
    8787 
    88          /// Vérifications /// 
    89          void checkAttributes(void); 
     88          
    9089 
    9190         /// Destructeur /// 
     
    102101 
    103102         static bool dispatchEvent(CEventServer& event);          
     103         
     104         /// Vérifications /// 
     105         void checkAttributes(void); 
     106         bool checkAttributes_done_ = false ; 
    104107          
    105108         void checkAttributesOnClient(); 
     
    121124         bool isEqual(CAxis* axis); 
    122125 
     126         bool checkIfCompleted(void) ; 
     127         void setCompleted(void) ; 
     128         void setUncompleted(void) ; 
     129 
    123130      public:  
    124131        bool hasValue;         
     
    127134 
    128135        CArray<int,1> localIndexToWriteOnServer; 
     136          
     137         void computeConnectedClients(CContextClient* client, const std::vector<int>& globalDim, int orderPositionInGrid); 
     138         private: std::set<CContextClient*> computeConnectedClients_done_ ; public : 
     139         /** The number of server of a context client. Avoid to re-compute indice computed in a previous computeConnectedClient */ 
     140         private: std::set<int> listNbServer_ ; public: 
    129141 
    130142      private: 
     
    137149         void sendDistributionAttribute(const std::vector<int>& globalDim, int orderPositionInGrid, 
    138150                                        CServerDistributionDescription::ServerDistributionType distType); 
    139          void computeConnectedClients(const std::vector<int>& globalDim, int orderPositionInGrid, 
    140                                      CServerDistributionDescription::ServerDistributionType distType); 
     151          
    141152 
    142153         void sendNonDistributedAttributes(void); 
     
    157168         std::list<CContextClient*> clients; 
    158169         std::set<CContextClient*> clientsSet; 
     170 
     171         /** define if the axis is completed or not ie all attributes have been received before in case  
     172             of grid reading from file or coupling */  
     173         bool isCompleted_=true ;   
    159174 
    160175         bool isChecked; 
     
    165180         //! True if and only if the data defined on the axis can be outputted in a compressed way 
    166181         bool isCompressible_; 
     182 
    167183         std::map<int, map<int,int> > nbSenders; // Mapping of number of communicating client to a server 
    168184         std::map<int, std::unordered_map<int, vector<size_t> > > indSrv_; // Global index of each client sent to server 
Note: See TracChangeset for help on using the changeset viewer.