Ignore:
Timestamp:
12/16/19 19:22:59 (23 months ago)
Author:
ymipsl
Message:
  • add some comment about grid map/array/indexes
  • Add some "_" to suffix data members of the class

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/node/field.cpp

    r1784 r1794  
    162162       if (client->isServerLeader()) 
    163163       { 
    164           for (it = grid->storeIndex_toSrv[client].begin(); it != grid->storeIndex_toSrv[client].end(); it++) 
     164          for (it = grid->storeIndex_toSrv_[client].begin(); it != grid->storeIndex_toSrv_[client].end(); it++) 
    165165          { 
    166166            int rank = it->first; 
     
    182182    else 
    183183    { 
    184       for (it = grid->storeIndex_toSrv[client].begin(); it != grid->storeIndex_toSrv[client].end(); it++) 
     184      for (it = grid->storeIndex_toSrv_[client].begin(); it != grid->storeIndex_toSrv_[client].end(); it++) 
    185185      { 
    186186        int rank = it->first; 
     
    194194 
    195195        list_msg.back() << getId() << data_tmp; 
    196         event.push(rank, grid->nbSenders[receiverSize][rank], list_msg.back()); 
     196        event.push(rank, grid->nbSenders_[receiverSize][rank], list_msg.back()); 
    197197      } 
    198198      client->sendEvent(event); 
     
    231231    if (0 == recvDataSrv.numElements()) 
    232232    {             
    233       CArray<int,1>& storeClient = grid->storeIndex_client; 
     233      CArray<int,1>& storeClient = grid->storeIndex_client_; 
    234234 
    235235      // Gather all data from different clients       
     
    248248    if (opeDate <= currDate) 
    249249    { 
    250       for (map<int, CArray<size_t, 1> >::iterator it = grid->outLocalIndexStoreOnClient.begin(); it != grid->outLocalIndexStoreOnClient.end(); ++it) 
     250      for (map<int, CArray<size_t, 1> >::iterator it = grid->outLocalIndexStoreOnClient_.begin(); it != grid->outLocalIndexStoreOnClient_.end(); ++it) 
    251251      { 
    252252        CArray<double,1> tmp; 
     
    445445    else 
    446446    { 
    447       for (map<int, CArray<size_t, 1> >::iterator it = grid->outLocalIndexStoreOnClient.begin();  
    448                                                   it != grid->outLocalIndexStoreOnClient.end(); ++it) 
     447      for (map<int, CArray<size_t, 1> >::iterator it = grid->outLocalIndexStoreOnClient_.begin();  
     448                                                  it != grid->outLocalIndexStoreOnClient_.end(); ++it) 
    449449      { 
    450450        CArray<size_t,1>& indexTmp = it->second; 
     
    472472        } 
    473473 
    474         event.push(it->first, grid->nbReadSenders[client][it->first], msg); 
     474        event.push(it->first, grid->nbReadSenders_[client][it->first], msg); 
    475475      } 
    476476      client->sendEvent(event); 
     
    498498        if (0 == recvDataSrv.numElements()) 
    499499        {             
    500           CArray<int,1>& storeClient = grid->storeIndex_client;           
     500          CArray<int,1>& storeClient = grid->storeIndex_client_;           
    501501          recvDataSrv.resize(storeClient.numElements());           
    502502        } 
Note: See TracChangeset for help on using the changeset viewer.