Changeset 689 for XIOS/trunk/src/transformation/grid_transformation.cpp
- Timestamp:
- 09/15/15 17:31:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/grid_transformation.cpp
r688 r689 12 12 #include "axis_algorithm_interpolate.hpp" 13 13 #include "domain_algorithm_zoom.hpp" 14 #include "domain_algorithm_interpolate _from_file.hpp"14 #include "domain_algorithm_interpolate.hpp" 15 15 #include "context.hpp" 16 16 #include "context_client.hpp" … … 276 276 277 277 CZoomDomain* zoomDomain = 0; 278 CInterpolate FromFileDomain* interpFileDomain = 0;278 CInterpolateDomain* interpFileDomain = 0; 279 279 CGenericAlgorithmTransformation* algo = 0; 280 280 switch (transType) 281 281 { 282 case TRANS_INTERPOLATE_DOMAIN _FROM_FILE:283 interpFileDomain = dynamic_cast<CInterpolate FromFileDomain*> (it->second);284 algo = new CDomainAlgorithmInterpolate FromFile(domainListDestP[domainIndex], domainListSrcP[domainIndex],interpFileDomain);282 case TRANS_INTERPOLATE_DOMAIN: 283 interpFileDomain = dynamic_cast<CInterpolateDomain*> (it->second); 284 algo = new CDomainAlgorithmInterpolate(domainListDestP[domainIndex], domainListSrcP[domainIndex],interpFileDomain); 285 285 break; 286 286 case TRANS_ZOOM_DOMAIN: … … 312 312 switch (transType) 313 313 { 314 case TRANS_INTERPOLATE_DOMAIN _FROM_FILE:314 case TRANS_INTERPOLATE_DOMAIN: 315 315 case TRANS_ZOOM_DOMAIN: 316 316 domainIndex = elementPosition2DomainPositionInGrid_[elementPositionInGrid]; … … 494 494 if (searchCurrentSrc.search(itbIndex, iteIndex, globalIndexOfCurrentGridSourceToSend[idx], itIndex)) 495 495 { 496 // int index = std::distance(itbArr, itArr); 497 sendBuff[idx+currentBuffPosition] = globalIndexOfOriginalGridSource_[*itIndex]; //[index]; 496 sendBuff[idx+currentBuffPosition] = globalIndexOfOriginalGridSource_[*itIndex]; 498 497 } 499 498 }
Note: See TracChangeset
for help on using the changeset viewer.