Changeset 1578
- Timestamp:
- 09/19/18 14:15:45 (6 years ago)
- Location:
- XIOS/trunk/src/node
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/domain.cpp
r1565 r1578 33 33 , lonvalue(), latvalue(), bounds_lonvalue(), bounds_latvalue() 34 34 , globalLocalIndexMap_(), computedWrittenIndex_(false) 35 , clients() 35 , clients(), hasLatInReadFile_(false), hasBoundsLatInReadFile_(false) 36 , hasLonInReadFile_(false), hasBoundsLonInReadFile_(false) 36 37 { 37 38 } … … 45 46 , lonvalue(), latvalue(), bounds_lonvalue(), bounds_latvalue() 46 47 , globalLocalIndexMap_(), computedWrittenIndex_(false) 47 , clients() 48 , clients(), hasLatInReadFile_(false), hasBoundsLatInReadFile_(false) 49 , hasLonInReadFile_(false), hasBoundsLonInReadFile_(false) 48 50 { 49 51 } … … 466 468 lon_end.setValue(lonvalue_rectilinear_read_from_file(ni_glo-1)); 467 469 } 468 else 470 else if (!hasLonInReadFile_) 469 471 { 470 472 if (!lonvalue_2d.isEmpty()) lonvalue_2d.free(); … … 500 502 lat_end.setValue(latvalue_rectilinear_read_from_file(nj_glo-1)); 501 503 } 502 else 504 else if (!hasLatInReadFile_) 503 505 { 504 506 if (!latvalue_2d.isEmpty()) latvalue_1d.free(); -
XIOS/trunk/src/node/domain.hpp
r1553 r1578 151 151 bool hasLonLat; 152 152 bool hasPole ; 153 bool hasLatInReadFile_ ; // specify if latitude is defined on read file, so it can be read later when grid distribution will be defined 154 bool hasBoundsLatInReadFile_ ; // specify if latitude boundarues are defined on read file, so it can be read later when grid distribution will be defined 155 bool hasLonInReadFile_ ; // specify if longitude is defined on read file, so it can be read later when grid distribution will be defined 156 bool hasBoundsLonInReadFile_ ; // specify if longitude boundaries are defined on read file, so it can be read later when grid distribution will be defined 153 157 154 158 void computeLocalMask(void) ;
Note: See TracChangeset
for help on using the changeset viewer.