Changeset 1408


Ignore:
Timestamp:
01/23/18 17:20:49 (7 years ago)
Author:
ymipsl
Message:

NonDistributedTransformation? : Another typo fix.
=> could raise some error message for domain & axis transformation

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/transformation/generic_algorithm_transformation.cpp

    r1407 r1408  
    949949  if (2 == dimElement) //domain 
    950950  { 
    951     CDomain* domain = domainListSrcP[elementPositionInGridSrc2DomainPosition_[elementPositionInGrid]] ; 
     951    CDomain* domain = domainListDstP[elementPositionInGridDst2DomainPosition_[elementPositionInGrid]] ; 
    952952    int ni_glo=domain->ni_glo ; 
    953953    int nj_glo=domain->nj_glo ; 
     
    970970  else if (1 == dimElement) //axis 
    971971  { 
    972     CAxis* axis = axisListSrcP[elementPositionInGridSrc2AxisPosition_[elementPositionInGrid]] ; 
     972    CAxis* axis = axisListDstP[elementPositionInGridDst2AxisPosition_[elementPositionInGrid]] ; 
    973973    int nindex_glo=axis->n_glo ; 
    974974    dstLocalInd.resize(nindex_glo,-1) ; 
Note: See TracChangeset for help on using the changeset viewer.