Ignore:
Timestamp:
Mar 13, 2013, 12:55:47 PM (12 years ago)
Author:
aslmd
Message:

LMDZ.GENERIC. Corrected a small bug in bilinearbig. Added support for ciclad in makegcm_ifort. Raised the value for capcal in case soil turned off.

Location:
trunk/LMDZ.GENERIC/libf/phystd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/bilinearbig.F90

    r878 r903  
    2222      y=y_in
    2323
    24 
    2524   !! AS: important to optimize here because the array is quite large
    2625   !! ... and actually calculations only need to be done once
    27    !! --> Case 1 : we have not calculated yet
     26   !! IF ind=-9999 we have not calculated yet
    2827   if ( ind == -9999) then
    2928      !1st check we're within the wavenumber range
    3029      if ((x.lt.x_arr(2)).or.(x.gt.x_arr(nX-2))) then
    31          f=0.0D+0
    3230         ind=-1
    3331      else
     
    4139        end do
    4240      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
    4546      f=0.0D+0
    4647      return
    47    !! --> case 3 : we already determined a -- so we just proceed
     48   !! Or we already determined ind -- so we just proceed
    4849   else
    4950      x1=x_arr(ind)
  • trunk/LMDZ.GENERIC/libf/phystd/physiq.F90

    r880 r903  
    519519         else
    520520            print*,'WARNING! Thermal conduction in the soil turned off'
    521             capcal(:)=1.e6
     521            capcal(:)=1.e16 !1.e6
    522522            fluxgrd(:)=0.
    523523            if(noradsurf)then
Note: See TracChangeset for help on using the changeset viewer.