Ignore:
Timestamp:
10/24/17 11:03:29 (7 years ago)
Author:
ymipsl
Message:

Fix conflict between for domain mask_1d and mask_2d when inheritance is done after transformation. Now class attribute "domainMask" is fill either by mask_1d or mask_2d and will be used instead of mask_1d in code.
This is a temporary fix which will solve later by reconstructing a cleanear grid graph.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/distribution_client.cpp

    r1250 r1311  
    108108  for (int i = 0; i < domainNum_;++i) 
    109109  { 
    110     domainMasks_[i].resize(domList[i]->mask_1d.numElements()); 
    111     domainMasks_[i] = domList[i]->mask_1d; 
     110    domainMasks_[i].resize(domList[i]->domainMask.numElements()); 
     111    domainMasks_[i] = domList[i]->domainMask; 
    112112  } 
    113113 
Note: See TracChangeset for help on using the changeset viewer.