Ignore:
Timestamp:
06/22/15 13:36:37 (9 years ago)
Author:
mhnguyen
Message:

Final tests of zoom and inverse on axis

+) Modify test_client and test_complete to work with new grid definition
+) Correct some bugs causing memory leak
+) Clean abundant code
+) Add more comments to new files

Test
+) On Curie
+) test_client and test_complete pass with correct results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/grid.cpp

    r623 r624  
    772772  bool CGrid::doGridHaveDataToWrite() 
    773773  { 
    774     size_t ssize = 0; 
    775     for (map<int, CArray<size_t, 1>* >::const_iterator it = outIndexFromClient.begin(); 
    776                                                        it != outIndexFromClient.end(); ++it) 
    777     { 
    778       ssize += (it->second)->numElements(); 
    779     } 
    780     return (0 != ssize); 
     774//    size_t ssize = 0; 
     775//    for (map<int, CArray<size_t, 1>* >::const_iterator it = outIndexFromClient.begin(); 
     776//                                                       it != outIndexFromClient.end(); ++it) 
     777//    { 
     778//      ssize += (it->second)->numElements(); 
     779//    } 
     780//    return (0 != ssize); 
     781     return (0 != writtenDataSize_); 
    781782  } 
    782783 
Note: See TracChangeset for help on using the changeset viewer.