Changeset 847 for XIOS/trunk/src/node/domain.cpp
- Timestamp:
- 04/27/16 17:37:34 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/domain.cpp
r836 r847 545 545 if (bounds_lat_start >= 90 ) bounds_lat_start=90 ; 546 546 else if (bounds_lat_start <= -90 ) bounds_lat_start=-90 ; 547 else if (bounds_lat_start <= 90 && bounds_lat_start >= l on(0))548 { 549 if ( 90-bounds_lat_start<= 0.1*std::abs(latStepStart)) bounds_lat_start=90 ;550 } 551 else if (bounds_lat_start >= -90 && bounds_lat_start <= l on(0))552 { 553 if ( -90 + bounds_lat_start<= 0.1*std::abs(latStepStart)) bounds_lat_start=-90 ;547 else if (bounds_lat_start <= 90 && bounds_lat_start >= lat(0)) 548 { 549 if ( std::abs(90-bounds_lat_start) <= 0.1*std::abs(latStepStart)) bounds_lat_start=90 ; 550 } 551 else if (bounds_lat_start >= -90 && bounds_lat_start <= lat(0)) 552 { 553 if ( std::abs(-90 - bounds_lat_start) <= 0.1*std::abs(latStepStart)) bounds_lat_start=-90 ; 554 554 } 555 555 } … … 563 563 if (bounds_lat_end >= 90 ) bounds_lat_end=90 ; 564 564 else if (bounds_lat_end <= -90 ) bounds_lat_end=-90 ; 565 else if (bounds_lat_end <= 90 && bounds_lat_end >= l on(nj_glo-1))566 { 567 if ( 90-bounds_lat_end<= 0.1*std::abs(latStepEnd)) bounds_lat_end=90 ;568 } 569 else if (bounds_lat_end >= -90 && bounds_lat_end <= l on(nj_glo-1))570 { 571 if ( -90 + bounds_lat_end<= 0.1*std::abs(latStepEnd)) bounds_lat_end=-90 ;565 else if (bounds_lat_end <= 90 && bounds_lat_end >= lat(nj_glo-1)) 566 { 567 if ( std::abs(90-bounds_lat_end) <= 0.1*std::abs(latStepEnd)) bounds_lat_end=90 ; 568 } 569 else if (bounds_lat_end >= -90 && bounds_lat_end <= lat(nj_glo-1)) 570 { 571 if ( std::abs(-90 - bounds_lat_end) <= 0.1*std::abs(latStepEnd)) bounds_lat_end=-90 ; 572 572 } 573 573 }
Note: See TracChangeset
for help on using the changeset viewer.