Ignore:
Timestamp:
06/02/23 15:18:25 (13 months ago)
Author:
ymipsl
Message:

Revert commit 2440 & 2442 that introduced bounds management for rectilinear grid, that make transformations unstable. A specific branch has been created to keep this modifications.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS2/trunk/src/transformation/domain_algorithm_interpolate.cpp

    r2442 r2511  
    125125  int niSrc = domainSrc_->ni.getValue(), njSrc = domainSrc_->nj.getValue(); 
    126126  bool hasBoundSrc = domainSrc_->hasBounds; 
    127   if ((hasBoundSrc) && (!domainSrc_->nvertex.isEmpty())) nVertexSrc = domainSrc_->nvertex.getValue(); // default is constNVertex = 4 
     127  if (hasBoundSrc) nVertexSrc = domainSrc_->nvertex.getValue(); 
    128128  CArray<double,2> boundsLonSrc(nVertexSrc,localDomainSrcSize); 
    129129  CArray<double,2> boundsLatSrc(nVertexSrc,localDomainSrcSize); 
     
    197197  int niDest = domainDest_->ni.getValue(), njDest = domainDest_->nj.getValue(); 
    198198  bool hasBoundDest = domainDest_->hasBounds; 
    199   if ((hasBoundDest) && (!domainDest_->nvertex.isEmpty())) nVertexDest = domainDest_->nvertex.getValue(); // default is constNVertex = 4 
     199  if (hasBoundDest) nVertexDest = domainDest_->nvertex.getValue(); 
    200200  CArray<double,2> boundsLonDest(nVertexDest,localDomainDestSize); 
    201201  CArray<double,2> boundsLatDest(nVertexDest,localDomainDestSize); 
Note: See TracChangeset for help on using the changeset viewer.