Changeset 903 for trunk/LMDZ.GENERIC/libf
- Timestamp:
- Mar 13, 2013, 12:55:47 PM (12 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/bilinearbig.F90
r878 r903 22 22 y=y_in 23 23 24 25 24 !! AS: important to optimize here because the array is quite large 26 25 !! ... and actually calculations only need to be done once 27 !! --> Case 1 :we have not calculated yet26 !! IF ind=-9999 we have not calculated yet 28 27 if ( ind == -9999) then 29 28 !1st check we're within the wavenumber range 30 29 if ((x.lt.x_arr(2)).or.(x.gt.x_arr(nX-2))) then 31 f=0.0D+032 30 ind=-1 33 31 else … … 41 39 end do 42 40 endif 43 !! --> case 2 : we already saw we are out of wavenumber range 44 else if ( ind == -1) then 41 endif 42 43 !! Either we already saw we are out of wavenumber range 44 !! ... and we just have to set f=0 and exit 45 if ( ind == -1) then 45 46 f=0.0D+0 46 47 return 47 !! --> case 3 : we already determined a-- so we just proceed48 !! Or we already determined ind -- so we just proceed 48 49 else 49 50 x1=x_arr(ind) -
trunk/LMDZ.GENERIC/libf/phystd/physiq.F90
r880 r903 519 519 else 520 520 print*,'WARNING! Thermal conduction in the soil turned off' 521 capcal(:)=1.e 6521 capcal(:)=1.e16 !1.e6 522 522 fluxgrd(:)=0. 523 523 if(noradsurf)then
Note: See TracChangeset
for help on using the changeset viewer.