Ignore:
Timestamp:
03/22/18 10:43:20 (6 years ago)
Author:
yushan
Message:

branch_openmp merged with XIOS_DEV_CMIP6@1459

Location:
XIOS/dev/branch_openmp/src/config
Files:
5 added
11 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/config/axis_attribute.conf

    r1050 r1460  
    44 
    55DECLARE_ATTRIBUTE(StdString, unit) 
     6DECLARE_ATTRIBUTE(StdString, formula) 
     7DECLARE_ATTRIBUTE(StdString, formula_term) 
     8DECLARE_ATTRIBUTE(StdString, formula_bounds) 
     9DECLARE_ATTRIBUTE(StdString, formula_term_bounds) 
     10DECLARE_ATTRIBUTE(StdString, bounds_name) 
    611 
    712DECLARE_ATTRIBUTE(int,       n_glo) 
    813DECLARE_ENUM2(positive, up, down) 
     14DECLARE_ENUM4(axis_type, X, Y, Z, T) 
     15 
     16DECLARE_ATTRIBUTE(StdString, dim_name) 
    917 
    1018/* GLOBAL */ 
  • XIOS/dev/branch_openmp/src/config/axis_attribute_private.conf

    r1205 r1460  
    22DECLARE_ATTRIBUTE_PRIVATE(int, global_zoom_n) 
    33DECLARE_ARRAY_PRIVATE(int,  1, global_zoom_index) 
     4 
     5/* LOCAL DATA*/ 
     6DECLARE_ARRAY_PRIVATE(int    ,   1 , zoom_index) 
     7DECLARE_ATTRIBUTE_PRIVATE(int, zoom_begin) 
     8DECLARE_ATTRIBUTE_PRIVATE(int, zoom_n) 
  • XIOS/dev/branch_openmp/src/config/domain_attribute.conf

    r1045 r1460  
    33DECLARE_ATTRIBUTE(StdString       , standard_name) 
    44DECLARE_ATTRIBUTE(StdString       , long_name) 
     5DECLARE_ATTRIBUTE(StdString       , lon_name) 
     6DECLARE_ATTRIBUTE(StdString       , lat_name) 
     7DECLARE_ATTRIBUTE(StdString       , bounds_lon_name) 
     8DECLARE_ATTRIBUTE(StdString       , bounds_lat_name) 
     9DECLARE_ATTRIBUTE(StdString       , dim_i_name) 
     10DECLARE_ATTRIBUTE(StdString       , dim_j_name) 
    511 
    612/* GLOBAL */ 
     
    915 
    1016/* LOCAL */ 
    11 DECLARE_ATTRIBUTE(int             , ibegin) 
    12 DECLARE_ATTRIBUTE(int             , ni) 
     17DECLARE_ATTRIBUTE(int             , ibegin, false) 
     18DECLARE_ATTRIBUTE(int             , ni, false) 
    1319 
    1420/* LOCAL */ 
    15 DECLARE_ATTRIBUTE(int             , jbegin) 
    16 DECLARE_ATTRIBUTE(int             , nj) 
     21DECLARE_ATTRIBUTE(int             , jbegin, false) 
     22DECLARE_ATTRIBUTE(int             , nj, false) 
    1723 
    1824 
    19 DECLARE_ARRAY(int,1             , i_index) 
    20 DECLARE_ARRAY(int,1             , j_index) 
     25DECLARE_ARRAY(int,1             , i_index, false) 
     26DECLARE_ARRAY(int,1             , j_index, false) 
    2127 
    2228/* LOCAL */ 
    23 DECLARE_ARRAY(bool, 1 , mask_1d) 
    24 DECLARE_ARRAY(bool, 2 , mask_2d) 
     29DECLARE_ARRAY(bool, 1 , mask_1d, false) 
     30DECLARE_ARRAY(bool, 2 , mask_2d, false) 
    2531 
    2632/* GLOBAL */ 
     
    2834 
    2935/* LOCAL */ 
    30 DECLARE_ATTRIBUTE(int             , data_ni) 
    31 DECLARE_ATTRIBUTE(int             , data_nj) 
    32 DECLARE_ATTRIBUTE(int             , data_ibegin) 
    33 DECLARE_ATTRIBUTE(int             , data_jbegin) 
     36DECLARE_ATTRIBUTE(int             , data_ni, false) 
     37DECLARE_ATTRIBUTE(int             , data_nj, false) 
     38DECLARE_ATTRIBUTE(int             , data_ibegin, false) 
     39DECLARE_ATTRIBUTE(int             , data_jbegin, false) 
    3440 
    3541/* LOCAL */ 
    36 DECLARE_ARRAY(int, 1 , data_i_index) 
    37 DECLARE_ARRAY(int, 1,  data_j_index) 
     42DECLARE_ARRAY(int, 1 , data_i_index, false) 
     43DECLARE_ARRAY(int, 1,  data_j_index, false) 
    3844 
    3945/* LOCAL */ 
    40 DECLARE_ARRAY(double, 1, lonvalue_1d) 
    41 DECLARE_ARRAY(double, 1, latvalue_1d) 
    42 DECLARE_ARRAY(double, 2, lonvalue_2d) 
    43 DECLARE_ARRAY(double, 2, latvalue_2d) 
     46DECLARE_ARRAY(double, 1, lonvalue_1d, false) 
     47DECLARE_ARRAY(double, 1, latvalue_1d, false) 
     48DECLARE_ARRAY(double, 2, lonvalue_2d, false) 
     49DECLARE_ARRAY(double, 2, latvalue_2d, false) 
    4450 
    4551DECLARE_ATTRIBUTE(int, nvertex) 
    46 DECLARE_ARRAY(double, 2, bounds_lon_1d) 
    47 DECLARE_ARRAY(double, 2, bounds_lat_1d) 
    48 DECLARE_ARRAY(double, 3, bounds_lon_2d) 
    49 DECLARE_ARRAY(double, 3, bounds_lat_2d) 
     52DECLARE_ARRAY(double, 2, bounds_lon_1d, false) 
     53DECLARE_ARRAY(double, 2, bounds_lat_1d, false) 
     54DECLARE_ARRAY(double, 3, bounds_lon_2d, false) 
     55DECLARE_ARRAY(double, 3, bounds_lat_2d, false) 
    5056 
    5157DECLARE_ARRAY(double, 2, area) 
  • XIOS/dev/branch_openmp/src/config/domain_attribute_private.conf

    r1064 r1460  
    1010DECLARE_ATTRIBUTE_PRIVATE(double,  bounds_lat_end) 
    1111 
    12 // Array contain whole value (non distributed) of longitude and latitude of rectilinear read from a file 
     12//  Array contain whole value (non distributed) of longitude and latitude read from a file 
    1313DECLARE_ARRAY_PRIVATE(double, 1, lonvalue_rectilinear_read_from_file) 
    1414DECLARE_ARRAY_PRIVATE(double, 1, latvalue_rectilinear_read_from_file) 
    1515 
    16 // Array contain whole value (non distributed) of longitude and latitude of curvilinear read from a file 
     16// Array containing longitude and latitude of LOCAL curvilinear domain to be read from a file 
    1717DECLARE_ARRAY_PRIVATE(double, 2, lonvalue_curvilinear_read_from_file) 
    1818DECLARE_ARRAY_PRIVATE(double, 2, latvalue_curvilinear_read_from_file) 
     
    2020DECLARE_ARRAY_PRIVATE(double, 3, bounds_latvalue_curvilinear_read_from_file) 
    2121 
    22 // Array contain whole value (non distributed) of longitude and latitude of unstructured read from a file 
     22// Array containing longitude and latitude of LOCAL unstructured domain to be read from a file 
    2323DECLARE_ARRAY_PRIVATE(double, 1, lonvalue_unstructured_read_from_file) 
    2424DECLARE_ARRAY_PRIVATE(double, 1, latvalue_unstructured_read_from_file) 
     
    3030DECLARE_ATTRIBUTE_PRIVATE(int,  global_zoom_jbegin) 
    3131DECLARE_ATTRIBUTE_PRIVATE(int,  global_zoom_nj) 
     32 
     33// Local zoom information 
     34DECLARE_ATTRIBUTE_PRIVATE(int,  zoom_ibegin) 
     35DECLARE_ATTRIBUTE_PRIVATE(int,  zoom_ni) 
     36DECLARE_ATTRIBUTE_PRIVATE(int,  zoom_jbegin) 
     37DECLARE_ATTRIBUTE_PRIVATE(int,  zoom_nj) 
     38 
     39 
     40DECLARE_ARRAY_PRIVATE(int    ,   1 , zoom_i_index, false) 
     41DECLARE_ARRAY_PRIVATE(int    ,   1 , zoom_j_index, false) 
  • XIOS/dev/branch_openmp/src/config/file_attribute.conf

    r1205 r1460  
    2525DECLARE_ENUM2(time_units, seconds, days) 
    2626DECLARE_ATTRIBUTE(int,       record_offset) 
    27 DECLARE_ATTRIBUTE(bool,       cyclic) 
     27DECLARE_ATTRIBUTE(bool,      cyclic) 
    2828 
    2929DECLARE_ATTRIBUTE(int,       compression_level) 
  • XIOS/dev/branch_openmp/src/config/grid_attribute.conf

    r932 r1460  
    22DECLARE_ATTRIBUTE(StdString, description) 
    33 
    4 DECLARE_ARRAY(bool, 1, mask_1d) 
    5 DECLARE_ARRAY(bool, 2, mask_2d) 
    6 DECLARE_ARRAY(bool, 3, mask_3d) 
    7 DECLARE_ARRAY(bool, 4, mask_4d) 
    8 DECLARE_ARRAY(bool, 5, mask_5d) 
    9 DECLARE_ARRAY(bool, 6, mask_6d) 
    10 DECLARE_ARRAY(bool, 7, mask_7d) 
     4DECLARE_ARRAY(bool, 1, mask_1d, false) 
     5DECLARE_ARRAY(bool, 2, mask_2d, false) 
     6DECLARE_ARRAY(bool, 3, mask_3d, false) 
     7DECLARE_ARRAY(bool, 4, mask_4d, false) 
     8DECLARE_ARRAY(bool, 5, mask_5d, false) 
     9DECLARE_ARRAY(bool, 6, mask_6d, false) 
     10DECLARE_ARRAY(bool, 7, mask_7d, false) 
    1111 
     12// Meaningless, only server for coherent purpose (for scalar grid) 
     13DECLARE_ARRAY(bool, 1, mask_0d, false) 
    1214 
    1315// An array contains order of axis and domains composing of the grid 
  • XIOS/dev/branch_openmp/src/config/interpolate_domain_attribute.conf

    r1114 r1460  
    33DECLARE_ATTRIBUTE(bool, renormalize) 
    44DECLARE_ATTRIBUTE(bool, quantity) 
     5DECLARE_ATTRIBUTE(bool, detect_missing_value) 
    56 
    67/* Write interpolation weights into file */ 
     
    89DECLARE_ATTRIBUTE(StdString, weight_filename) 
    910DECLARE_ATTRIBUTE(bool, write_weight) 
     11DECLARE_ENUM2(read_write_convention, c, fortran) 
  • XIOS/dev/branch_openmp/src/config/node_type.conf

    r976 r1460  
    6767#endif //__XIOS_CReduceDomainToAxis__ 
    6868 
     69#ifdef __XIOS_CReduceAxisToAxis__ 
     70   DECLARE_NODE(ReduceAxisToAxis, reduce_axis_to_axis) 
     71#endif //__XIOS_CReduceAxisToAxis__ 
     72 
    6973#ifdef __XIOS_CExtractDomainToAxis__ 
    7074   DECLARE_NODE(ExtractDomainToAxis, extract_domain) 
     
    8791#endif //__XIOS_CReduceDomainToScalar__ 
    8892 
     93#ifdef __XIOS_CTemporalSplitting__ 
     94   DECLARE_NODE(TemporalSplitting, temporal_splitting) 
     95#endif //__XIOS_CTemporalSplitting__ 
     96 
     97#ifdef __XIOS_CDuplicateScalarToAxis__ 
     98   DECLARE_NODE(DuplicateScalarToAxis, duplicate_scalar_to_axis) 
     99#endif //__XIOS_CDuplicateScalarToAxis__ 
     100 
     101#ifdef __XIOS_CReduceScalarToScalar__ 
     102   DECLARE_NODE(ReduceScalarToScalar, reduce_scalar_to_scalar) 
     103#endif //__XIOS_CReduceScalarToScalar_ 
     104 
     105#ifdef __XIOS_CReorderDomain__ 
     106   DECLARE_NODE(ReorderDomain, reorder_domain) 
     107#endif //__XIOS_CReduceScalarToScalar_ 
     108 
    89109#ifdef __XIOS_CContext__ 
    90110   DECLARE_NODE_PAR(Context, context) 
  • XIOS/dev/branch_openmp/src/config/reduce_domain_to_axis_attribute.conf

    r980 r1460  
    33/* Direction to apply operation (i, j) */ 
    44DECLARE_ENUM2(direction,  iDir, jDir) 
     5DECLARE_ATTRIBUTE(bool, local) 
  • XIOS/dev/branch_openmp/src/config/reduce_domain_to_scalar_attribute.conf

    r976 r1460  
    11DECLARE_ENUM4(operation, min, max, sum, average) 
     2DECLARE_ATTRIBUTE(bool, local) 
  • XIOS/dev/branch_openmp/src/config/scalar_attribute.conf

    r1045 r1460  
    77/* LOCAL and GLOBAL*/ 
    88DECLARE_ATTRIBUTE(double, value) 
     9DECLARE_ATTRIBUTE(StdString, bounds_name) 
     10DECLARE_ARRAY(double, 1 , bounds) 
    911 
    1012DECLARE_ATTRIBUTE(StdString, scalar_ref) 
    1113DECLARE_ATTRIBUTE(int, prec) 
     14 
     15DECLARE_ENUM4(axis_type, X, Y, Z, T) 
     16DECLARE_ENUM2(positive, up, down) 
     17DECLARE_ATTRIBUTE(StdString, label) 
Note: See TracChangeset for help on using the changeset viewer.