Ignore:
Timestamp:
02/11/15 16:23:12 (9 years ago)
Author:
mhnguyen
Message:

Seperating global index computation on client and server side

+) Create a class which do mapping in general manner, between client and server index global
+) Remove some redundant functions and variables
+) Add some comments to code

Test
+) On Curie. Only test_new_features.f90
+) Test passes and results are correct.
+) Need to change index from 1 to 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/domain.hpp

    r551 r553  
    113113        vector< vector<int> > j_indSrv ; // for each server, j global index to send 
    114114 
     115 
    115116        CArray<int,2> mapConnectedServer ;  // (ni,nj) => mapped to connected server number, -1 if no server is target 
     117 
    116118 
    117119//        vector<int> ib_srv, ie_srv, in_srv ; 
     
    152154         std::set<StdString> relFiles; 
    153155         bool isClientChecked; // Verify whether all attributes of domain on the client side are good 
     156         std::map<int,int> nbConnectedClients_; // Mapping of number of communicating client to a server 
     157         std::map<int, vector<size_t> > indSrv_; // Global index of each client sent to server 
    154158 
    155159         DECLARE_REF_FUNC(Domain,domain) 
Note: See TracChangeset for help on using the changeset viewer.