Ignore:
Timestamp:
10/09/17 10:14:24 (7 years ago)
Author:
ymipsl
Message:

Add new transformation : reduce axis_to_axis
This a global reduction implying all process whih own the same source axis global point.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/node/axis.cpp

    r1275 r1301  
    5151     m["inverse_axis"] = TRANS_INVERSE_AXIS; 
    5252     m["reduce_domain"] = TRANS_REDUCE_DOMAIN_TO_AXIS; 
     53     m["reduce_axis"] = TRANS_REDUCE_AXIS_TO_AXIS; 
    5354     m["extract_domain"] = TRANS_EXTRACT_DOMAIN_TO_AXIS; 
    5455     m["temporal_splitting"] = TRANS_TEMPORAL_SPLITTING; 
     
    12731274 
    12741275    // Resize index to its real size 
    1275     index.resizeAndPreserve(nbIndexGlob); 
     1276    if (nbIndexGlob==0) index.resize(nbIndexGlob) ; 
     1277    else index.resizeAndPreserve(nbIndexGlob); 
    12761278 
    12771279    int nbData = nbIndexGlob; 
Note: See TracChangeset for help on using the changeset viewer.