Ignore:
Timestamp:
10/12/20 11:23:54 (4 years ago)
Author:
ymipsl
Message:

Bug fix when using grid masking. Grid local connector apply systematicalling grid masking need for data coming from model.
Add a flag to chose using masking or not.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/distribution/grid_local_connector.cpp

    r1918 r1960  
    1616  }  
    1717 
    18   CGridLocalConnector::CGridLocalConnector(CGridLocalElements* parent, CElementView::type srcType, CElementView::type dstType) 
     18  CGridLocalConnector::CGridLocalConnector(CGridLocalElements* parent, CElementView::type srcType, CElementView::type dstType, bool withMask) 
    1919  { 
    2020    CGridLocalView* srcView=parent->getView(srcType) ; 
     
    3131    for(auto connector : elementsConnector_) dstSize_*=connector->getDstSize() ; 
    3232 
    33     if (parent->hasLocalMask()) 
     33    if (parent->hasLocalMask() && withMask) 
    3434    { 
    3535      vector<CLocalConnector*> elementsConnector ; 
Note: See TracChangeset for help on using the changeset viewer.