Ignore:
Timestamp:
08/31/22 17:23:56 (22 months ago)
Author:
ymipsl
Message:
  • Optimize remote connector computation in case of read (reverse way).
  • don't compute anymore clientFromServerConnector (and all intermediate computation) for non reading case.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/distribution/grid_remote_connector.hpp

    r2291 r2397  
    2222      void computeViewDistribution(void) ; 
    2323      void computeConnector(bool eliminateRedundant=true) ; 
    24       void computeConnectorMethods(void) ; 
     24      void computeConnectorMethods(bool reverse=false) ; 
    2525      void computeConnectorRedundant(void) ; 
    2626      void computeGenericMethod(vector<shared_ptr<CLocalView>>& srcView, vector<shared_ptr<CDistributedView>>& dstView, vector<int>& indElements) ; 
     
    2828      void computeDstNonDistributed(int i, map<int,bool>& ranks) ; 
    2929      void computeSrcNonDistributed(int i) ; 
    30       void computeRedondantRanks(void) ; 
     30      void computeSrcNonDistributedReverse(int i) ; 
     31      void computeRedondantRanks(bool reverse=false) ; 
    3132      std::map<int, CArray<size_t,1>>& getDistributedGlobalIndex(int pos) { return elements_[pos] ;}  
    3233      const vector<bool>& getIsSrcViewDistributed(void) { return isSrcViewDistributed_ ;} 
Note: See TracChangeset for help on using the changeset viewer.