Ignore:
Timestamp:
10/06/17 13:41:57 (7 years ago)
Author:
oabramkina
Message:

Improvements for the secondary server: each grid is only sent to secondary-server pools that need it.

File:
1 edited

Legend:

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

    r1292 r1294  
    951951     { 
    952952        if (!instantDataFilter) 
     953//          instantDataFilter = clientSourceFilter = boost::shared_ptr<CSourceFilter>(new CSourceFilter(gc, grid, false, NoneDu, false, 
     954//                                                                                                      detectMissingValues, defaultValue)); 
    953955          instantDataFilter = clientSourceFilter = boost::shared_ptr<CSourceFilter>(new CSourceFilter(gc, grid,true)); 
    954956 
    955              // If the field data is to be read by the client or/and written to a file 
     957 
     958       // If the field data is to be read by the client or/and written to a file 
    956959       if (enableOutput && !storeFilter && !fileWriterFilter) 
    957960       { 
     
    966969     { 
    967970       if (!instantDataFilter) 
     971//         instantDataFilter = clientSourceFilter = boost::shared_ptr<CSourceFilter>(new CSourceFilter(gc, grid, false, NoneDu, false, 
     972//                                                                                                     detectMissingValues, defaultValue)); 
    968973         instantDataFilter = clientSourceFilter = boost::shared_ptr<CSourceFilter>(new CSourceFilter(gc, grid, true)); 
    969974 
     
    15021507   } 
    15031508 
     1509   void CField::setContextClient(CContextClient* contextClient) 
     1510   { 
     1511     client = contextClient; 
     1512     grid->setContextClient(contextClient); 
     1513   } 
     1514 
     1515   CContextClient* CField::getContextClient() 
     1516   { 
     1517     return client; 
     1518   } 
     1519 
    15041520   void CField::sendAddAllVariables(CContextClient* client) 
    15051521   { 
Note: See TracChangeset for help on using the changeset viewer.