Ignore:
Timestamp:
02/16/16 10:14:23 (8 years ago)
Author:
mhnguyen
Message:

Implementing grid destination clone in case of two grid source

+) Clone attributes of grid destination as well as its transformation
+) Clean some redundant codes

Test
+) All tests pass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/axis.cpp

    r821 r823  
    911911  } 
    912912 
     913  void CAxis::duplicateTransformation(CAxis* src) 
     914  { 
     915    if (src->hasTransformation()) 
     916    { 
     917      this->setTransformations(src->getAllTransformations()); 
     918    } 
     919  } 
     920 
    913921  /*! 
    914922   * Go through the hierarchy to find the axis from which the transformations must be inherited 
Note: See TracChangeset for help on using the changeset viewer.