Changeset 1599


Ignore:
Timestamp:
11/19/18 11:51:34 (21 months ago)
Author:
oabramkina
Message:

Dev: bugfix in case of a transformation on a non-ditributed element.

Location:
XIOS/dev/dev_olga/src/transformation
Files:
2 edited

Legend:

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

    r1589 r1599  
    845845void CGenericAlgorithmTransformation::computeTransformationMappingNonDistributed(int elementPositionInGrid, CGrid* gridSrc, CGrid* gridDst, 
    846846                                                                                 vector<int>& localSrc, vector<int>& localDst, vector<double>& weight, 
    847                                                                                  int nlocalIndexDest) 
     847                                                                                 int& nlocalIndexDest) 
    848848{ 
    849849 
     
    10061006  int srcIndCompressed=0 ; 
    10071007   
    1008 //  nonDistributedrecursiveFunct(nElement-1,true,elementPositionInGrid,maskSrc,maskDst, srcInd, srcIndCompressed, nIndexSrc, t, dstIndWeight, 
    1009 //                               currentInd,localSrc,localDst,weight, localMaskOnSrcGrid, localMaskOnGridDest ); 
    1010 //  nonDistributedrecursiveFunct(nElement-1,true,elementPositionInGrid,maskSrc,maskDst, srcInd, srcIndCompressed, nIndexSrc, t, dstIndWeight, 
    1011 //                               currentInd,localSrc,localDst,weight, localMaskOnGridDest ); 
    10121008  nonDistributedrecursiveFunct(nElement-1,true,elementPositionInGrid,maskSrc,maskDst, srcInd, srcIndCompressed, nIndexSrc, t, dstIndWeight,   
    10131009                               currentInd,localSrc,localDst,weight); 
  • XIOS/dev/dev_olga/src/transformation/generic_algorithm_transformation.hpp

    r1589 r1599  
    9090//                                                  vector<int>& localSrc, vector<int>& localDst, vector<double>& weight, vector<bool>& localMaskOnGridDest); 
    9191  void computeTransformationMappingNonDistributed(int elementPositionInGrid, CGrid* gridSrc, CGrid* gridDst, 
    92                                                   vector<int>& localSrc, vector<int>& localDst, vector<double>& weight, int nbLocalIndexOnGridDest); 
     92                                                  vector<int>& localSrc, vector<int>& localDst, vector<double>& weight, int& nbLocalIndexOnGridDest); 
    9393  void nonDistributedrecursiveFunct(int currentPos, bool masked, int elementPositionInGrid,  vector< CArray<bool,1>* >& maskSrc, vector< CArray<bool,1>* >& maskDst, 
    9494                                    int& srcInd, int& srcIndCompressed, vector<int>& nIndexSrc, 
Note: See TracChangeset for help on using the changeset viewer.