Changeset 1611


Ignore:
Timestamp:
11/22/18 15:49:24 (17 months ago)
Author:
yushan
Message:

branch_openmp merged and tested with trunk r1609

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/src/transformation/domain_algorithm_zoom.cpp

    r1583 r1611  
    9393  domainDest_->ni.setValue(niDest); 
    9494  domainDest_->nj.setValue(njDest); 
    95   domainDest_->ibegin.setValue(ibeginDest); 
    96   domainDest_->jbegin.setValue(jbeginDest); 
     95  if ( (niDest==0) || (njDest==0)) 
     96  { 
     97    domainDest_->ibegin.setValue(0); 
     98    domainDest_->jbegin.setValue(0); 
     99  } 
     100  else 
     101  { 
     102    domainDest_->ibegin.setValue(ibeginDest); 
     103    domainDest_->jbegin.setValue(jbeginDest); 
     104  } 
    97105  domainDest_->i_index.resize(niDest*njDest); 
    98106  domainDest_->j_index.resize(niDest*njDest); 
Note: See TracChangeset for help on using the changeset viewer.