Ignore:
Timestamp:
02/01/18 18:37:08 (3 years ago)
Author:
oabramkina
Message:

Including calculations of grid distributions for fields which are disabled but, at the same time, are referenced in arithmetic filters.

File:
1 edited

Legend:

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

    r1405 r1417  
    3737      , domAxisScalarIds_(vector<StdString>(3,"")) 
    3838      , areAllReferenceSolved(false), isReferenceSolved(false), isReferenceSolvedAndTransformed(false) 
     39      , isGridChecked(false) 
    3940      , useCompressedOutput(false) 
    4041      , hasTimeInstant(false) 
     
    5455      , domAxisScalarIds_(vector<StdString>(3,"")) 
    5556      , areAllReferenceSolved(false), isReferenceSolved(false), isReferenceSolvedAndTransformed(false) 
     57      , isGridChecked(false) 
    5658      , useCompressedOutput(false) 
    5759      , hasTimeInstant(false) 
     
    855857   void CField::checkGridOfEnabledFields() 
    856858   { 
    857       solveCheckMaskIndex(false); 
     859     if (!isGridChecked) 
     860     { 
     861       isGridChecked = true; 
     862       solveCheckMaskIndex(false); 
     863     } 
    858864   } 
    859865 
     
    10011007   {      
    10021008    if (!isReferenceSolvedAndTransformed) solveAllEnabledFieldsAndTransform(); 
     1009    if (!isGridChecked) checkGridOfEnabledFields(); 
    10031010 
    10041011     const bool detectMissingValues = (!detect_missing_value.isEmpty() && !default_value.isEmpty() && detect_missing_value == true); 
Note: See TracChangeset for help on using the changeset viewer.