Ignore:
Timestamp:
08/28/18 16:38:30 (6 years ago)
Author:
oabramkina
Message:

Grid mask is now applied in the source filter of clients: unmasked values are replaced by NaN. It is not reconstructed any more by servers.

This needs to be tested more rigorously before commiting to trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/node/domain.cpp

    r1565 r1568  
    24472447         { 
    24482448           iIndex = (index%ni_glo)-ibegin; 
    2449            iIndex = (iIndex < 0) ? 0 : iIndex; 
     2449           iIndex = (iIndex < 0) ? 0 : iIndex;    // ?? 
    24502450           jIndex = (index/ni_glo)-jbegin; 
    2451            jIndex = (jIndex < 0) ? 0 : jIndex; 
     2451           jIndex = (jIndex < 0) ? 0 : jIndex;    // ?? 
    24522452           nbIndLoc = iIndex + ni * jIndex; 
    24532453           if (nbIndLoc < nbIndexGlobMax) 
     
    28962896      buffer >> recvDataJIndex[i]; 
    28972897    } 
    2898     
     2898 
    28992899    int nbIndex = i_index.numElements(); 
    29002900    CArray<int,1> dataIIndex(nbIndex), dataJIndex(nbIndex); 
    29012901    dataIIndex = -1; dataJIndex = -1; 
    2902       
     2902 
    29032903    nbIndex = 0; 
    29042904    for (i = 0; i < nbReceived; ++i) 
Note: See TracChangeset for help on using the changeset viewer.