Changeset 1166


Ignore:
Timestamp:
06/09/17 14:29:45 (4 years ago)
Author:
mhnguyen
Message:

Fixing a minor bug during merge.

Test
+) On Curie
+) test_client, test_complete work
+) Need to test more

File:
1 edited

Legend:

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

    r1158 r1166  
    933933         } 
    934934       } 
    935      } 
    936  
    937      // If the field data is to be read by the client or/and written to a file 
    938      if (enableOutput && !storeFilter && !fileWriterFilter) 
    939      { 
    940        if (!read_access.isEmpty() && read_access) 
    941        { 
    942          storeFilter = boost::shared_ptr<CStoreFilter>(new CStoreFilter(gc, CContext::getCurrent(), grid)); 
    943          instantDataFilter->connectOutput(storeFilter, 0); 
    944        } 
    945  
    946        if (file && (file->mode.isEmpty() || file->mode == CFile::mode_attr::write)) 
    947        { 
    948          fileWriterFilter = boost::shared_ptr<CFileWriterFilter>(new CFileWriterFilter(gc, this)); 
    949          getTemporalDataFilter(gc, file->output_freq)->connectOutput(fileWriterFilter, 0); 
     935 
     936       // If the field data is to be read by the client or/and written to a file 
     937       if (enableOutput && !storeFilter && !fileWriterFilter) 
     938       { 
     939         if (!read_access.isEmpty() && read_access) 
     940         { 
     941           storeFilter = boost::shared_ptr<CStoreFilter>(new CStoreFilter(gc, CContext::getCurrent(), grid)); 
     942           instantDataFilter->connectOutput(storeFilter, 0); 
     943         } 
     944 
     945         if (file && (file->mode.isEmpty() || file->mode == CFile::mode_attr::write)) 
     946         { 
     947           fileWriterFilter = boost::shared_ptr<CFileWriterFilter>(new CFileWriterFilter(gc, this)); 
     948           getTemporalDataFilter(gc, file->output_freq)->connectOutput(fileWriterFilter, 0); 
     949         } 
    950950       } 
    951951     } 
Note: See TracChangeset for help on using the changeset viewer.