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/config/domain_attribute.conf

    r611 r657  
    1313/* LOCAL */ 
    1414DECLARE_ATTRIBUTE(int             , ibegin) 
    15 DECLARE_ATTRIBUTE(int             , iend) 
    1615DECLARE_ATTRIBUTE(int             , ni) 
    1716 
    1817/* LOCAL */ 
    1918DECLARE_ATTRIBUTE(int             , jbegin) 
    20 DECLARE_ATTRIBUTE(int             , jend) 
    2119DECLARE_ATTRIBUTE(int             , nj) 
    2220 
    2321 
    24 DECLARE_ARRAY(int,2             , i_index) 
    25 DECLARE_ARRAY(int,2             , j_index) 
     22DECLARE_ARRAY(int,1             , i_index) 
     23DECLARE_ARRAY(int,1             , j_index) 
    2624 
    2725/* LOCAL */ 
     26DECLARE_ARRAY(bool, 1 , mask_1D) 
     27DECLARE_ARRAY(bool, 2 , mask_2D) 
    2828DECLARE_ARRAY(bool, 2 , mask) 
    2929 
     
    3636DECLARE_ATTRIBUTE(int             , data_ibegin) 
    3737DECLARE_ATTRIBUTE(int             , data_jbegin) 
    38  
    39 /* GLOBAL */ 
    40 DECLARE_ATTRIBUTE(int             , zoom_ni) 
    41 DECLARE_ATTRIBUTE(int             , zoom_nj) 
    42 DECLARE_ATTRIBUTE(int             , zoom_ibegin) 
    43 DECLARE_ATTRIBUTE(int             , zoom_jbegin) 
    44  
    45 /* LOCAL */ 
    46 DECLARE_ATTRIBUTE(int             , zoom_ni_loc) 
    47 DECLARE_ATTRIBUTE(int             , zoom_nj_loc) 
    48 DECLARE_ATTRIBUTE(int             , zoom_ibegin_loc) 
    49 DECLARE_ATTRIBUTE(int             , zoom_jbegin_loc) 
    5038 
    5139/* LOCAL */ 
     
    6250DECLARE_ARRAY(double, 2, area) 
    6351 
    64 DECLARE_ENUM3(type,regular,curvilinear,unstructured) 
     52DECLARE_ENUM3(type,regular,curvilinear,unstructured) //rectilinear 
    6553DECLARE_ATTRIBUTE(StdString, domain_ref) 
    6654 
Note: See TracChangeset for help on using the changeset viewer.