Ignore:
Timestamp:
07/28/15 13:37:07 (9 years ago)
Author:
mhnguyen
Message:

Making changes in domain to make sure unstructed grid work with new method of index distribution

+) Change the way define i_index and j_index of a domain
+) Remove some redundant attributes of domain
+) Adjust the way to calculate index distribution on server side

Test
+) Make some minor change to test_unstruct_complete to work with new XIOS
+) On Curie
+) All test pass and correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/server_distribution_description.hpp

    r653 r657  
    33   \author Ha NGUYEN 
    44   \since 04 Jan 2015 
    5    \date 09 Feb 2015 
     5   \date 24 Jul 2015 
    66 
    77   \brief Description of index distribution on server(s). 
     
    3434    virtual ~CServerDistributionDescription(); 
    3535 
    36     void computeServerDistribution(int nServer, bool doComputeGlobalIndex = false, 
     36    void computeServerDistribution(int nServer, int positionDimensionDistributed = 1, 
     37                                   bool doComputeGlobalIndex = false, 
    3738                                   ServerDistributionType type = BAND_DISTRIBUTION); 
    3839 
    3940    void computeServerGlobalIndexInRange(int nServer, 
    4041                                         const std::pair<size_t, size_t>& indexBeginEnd, 
     42                                         int positionDimensionDistributed = 1, 
    4143                                         ServerDistributionType = BAND_DISTRIBUTION); 
    4244 
     
    4749 
    4850  protected: 
    49     void computeBandDistribution(int nServer); 
     51    void computeBandDistribution(int nServer, int positionDimensionDistributed = 1); 
    5052    void computePlanDistribution(int nServer); 
    5153 
Note: See TracChangeset for help on using the changeset viewer.