Ignore:
Timestamp:
09/12/17 09:45:29 (7 years ago)
Author:
ymipsl
Message:

backport of rev1260 in trunk.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/axis_algorithm_reduce_domain.cpp

    r1076 r1261  
    7777                                       CArray<double,1>& dataOut, 
    7878                                       std::vector<bool>& flagInitial,                      
    79                                        bool ignoreMissingValue) 
     79                                       bool ignoreMissingValue, bool firstPass) 
    8080{ 
    81   reduction_->apply(localIndex, dataInput, dataOut, flagInitial, ignoreMissingValue); 
     81  reduction_->apply(localIndex, dataInput, dataOut, flagInitial, ignoreMissingValue, firstPass); 
    8282} 
    8383 
     
    102102  CArray<int,1>& axisDstIndex = axisDest_->index; 
    103103  int ni_glo = domainSrc_->ni_glo, nj_glo = domainSrc_->nj_glo; 
    104   if (jDir == dir_) 
     104  if (iDir == dir_) 
    105105  { 
    106106    int nbAxisIdx = axisDstIndex.numElements(); 
     
    117117    } 
    118118  } 
    119   else if (iDir == dir_) 
     119  else if (jDir == dir_) 
    120120  { 
    121121    int nbAxisIdx = axisDstIndex.numElements(); 
Note: See TracChangeset for help on using the changeset viewer.