Ignore:
Timestamp:
09/11/17 17:02:48 (7 years ago)
Author:
ymipsl
Message:

Fix problem of axis distribution. When a grid is composed of a distributed axis and an non distributed axis on client side , on server side the first axis will be non distributed and second axis will be distributed. In this case, attributes (value, bounds, etc) was not sent in correct distribution.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/server_distribution_description.hpp

    r1235 r1258  
    2626    enum ServerDistributionType 
    2727    { 
    28       BAND_DISTRIBUTION, PLAN_DISTRIBUTION 
     28      BAND_DISTRIBUTION, PLAN_DISTRIBUTION, ROOT_DISTRIBUTION 
    2929    }; 
    3030 
     
    5656  protected: 
    5757    int computeBandDistribution(int nServer, int positionDimensionDistributed = 1); 
     58    int computeRootDistribution(int nServer, int positionDimensionDistributed = 1); 
    5859    void computePlanDistribution(int nServer); 
    5960    void computeRangeProcIndex(int clientRank, 
Note: See TracChangeset for help on using the changeset viewer.