Ignore:
Timestamp:
01/26/16 18:18:58 (8 years ago)
Author:
mhnguyen
Message:

Fixing the bug in ticket 72

+) The distributed axis on client side send info to correct corresponding server
+) Improve serverdistributiondescription class to make it more flexible
+) Create new test_basic_2D only for test cases of 2-d grid

Test
+) On Curie
+) All tests pass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/grid.cpp

    r803 r815  
    419419 
    420420     // Then compute distribution on server side 
    421      CServerDistributionDescription serverDistributionDescription(globalDim_); 
    422      serverDistributionDescription.computeServerGlobalIndexInRange(client->serverSize, 
    423                                                                    std::make_pair<size_t,size_t>(indexBegin, indexEnd), 
    424                                                                    positionDimensionDistributed_); 
     421     CServerDistributionDescription serverDistributionDescription(globalDim_, client->serverSize); 
     422     serverDistributionDescription.computeServerGlobalIndexInRange(std::make_pair<size_t,size_t>(indexBegin, indexEnd), positionDimensionDistributed_); 
    425423 
    426424     // Finally, compute index mapping between client(s) and server(s) 
Note: See TracChangeset for help on using the changeset viewer.