Changeset 918 for XIOS/trunk/src/filter


Ignore:
Timestamp:
08/12/16 19:57:50 (8 years ago)
Author:
mhnguyen
Message:

Modifying vertical interpolation

+) Only process interpolation, the extrapolation will be ignored (value will be unidentified (masked))
+) Make sure even unidenfitified from one transformation can be known in the next transformation

Test
+) On Curie
+) Vertical interpolation: Correct
+) Vertical interpolation + horizontal interpolation: Correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/filter/spatial_transform_filter.cpp

    r888 r918  
    197197        int countSize = itRecv->second.size(); 
    198198        const std::vector<std::pair<int,double> >& localIndex_p = itRecv->second; 
    199 //        for (int idx = 0; idx < countSize; ++idx) 
    200 //        { 
    201 //          dataCurrentDest(localIndex_p[idx].first) += *(recvBuff+currentBuff+idx) * localIndex_p[idx].second; 
    202 //        } 
    203199        (*itAlgo)->apply(localIndex_p, 
    204200                         recvBuff+currentBuff, 
    205201                         dataCurrentDest, 
    206                          localInitFlag); 
     202                         localInitFlag, 
     203                         defaultValue); 
    207204 
    208205        currentBuff += countSize; 
Note: See TracChangeset for help on using the changeset viewer.