Changeset 1113
- Timestamp:
- 05/03/17 15:02:15 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/domain_algorithm_expand.cpp
r1083 r1113 181 181 { 182 182 CArray<double,1> lon = lon_src(Range(0,niSrc-1)); 183 CArray<double,1> lat = lat_src(Range(0,lat_src.numElements()- 1,niSrc));183 CArray<double,1> lat = lat_src(Range(0,lat_src.numElements()-niSrc,niSrc)); 184 184 CArray<double,2>& bounds_lon_src = domainSource->bounds_lon_1d; 185 185 CArray<double,2>& bounds_lat_src = domainSource->bounds_lat_1d; … … 249 249 i_index_dst.resize(newNbLocalDst); 250 250 j_index_dst.resize(newNbLocalDst); 251 CArray<int,1> data_i_index_dst_full(newNbLocalDst , -1);252 CArray<int,1> data_j_index_dst_full(newNbLocalDst , -1);251 CArray<int,1> data_i_index_dst_full(newNbLocalDst); 252 CArray<int,1> data_j_index_dst_full(newNbLocalDst); 253 253 254 254 domainDestination->lonvalue_client.resizeAndPreserve(newNbLocalDst); … … 443 443 domainDestination->lonvalue_1d = lon_dst(Range(0,niDst-1)); 444 444 domainDestination->latvalue_1d.resize(njDst); 445 domainDestination->latvalue_1d = lat_dst(Range(0,lat_dst.numElements()- 1,niDst));445 domainDestination->latvalue_1d = lat_dst(Range(0,lat_dst.numElements()-niDst,niDst)); 446 446 } 447 447 else // It should be curvilinear
Note: See TracChangeset
for help on using the changeset viewer.