Ignore:
Timestamp:
07/07/15 10:46:33 (9 years ago)
Author:
mhnguyen
Message:

Implementing zooming on a domain

+) Add algorithm to do zooming on a domain
+) Remove some redundant codes

Test
+) On Curie
+) test_complete and test_client are correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/generic_algorithm_transformation.cpp

    r630 r631  
    2121                then position of axis in grid is 2 (since a domain is considered to contain 2 elements (axis) 
    2222  \param[in] gridDestGlobalDim global size of each dimension of grid source (all dimension must have the same size except of the one on which transformation is performed) 
     23  \param[in] gridSrcGlobalDim dimension size of source grid (it should share the same size for all dimension, maybe except the domain on which transformation is performed) 
    2324  \param[in] globalIndexGridDestSendToServer global index of grid destination on the current client to send to server 
    2425  \param[in/out] globaIndexWeightFromDestToSource mapping between transformed global index of grid destination 
     
    2728void CGenericAlgorithmTransformation::computeGlobalSourceIndex(int elementPositionInGrid, 
    2829                                                             const std::vector<int>& gridDestGlobalDim, 
     30                                                             const std::vector<int>& gridSrcGlobalDim, 
    2931                                                             const CArray<size_t,1>& globalIndexGridDestSendToServer, 
    3032                                                             std::map<size_t, std::vector<std::pair<size_t,double> > >& globaIndexWeightFromDestToSource) 
     
    4547                                                   elementPositionInGrid, 
    4648                                                   gridDestGlobalDim, 
     49                                                   gridSrcGlobalDim, 
    4750                                                   globalIndexGridDestSendToServer, 
    4851                                                   globalIndexDestGrid, 
Note: See TracChangeset for help on using the changeset viewer.