Ignore:
Timestamp:
Jul 22, 2024, 9:46:57 AM (2 months ago)
Author:
abarral
Message:

Revert cosp*/ from the trunk, as it's external code
Add missing bits from FCM2 source

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/predict_mom07.F90

    r5082 r5095  
    77            implicit none
    88       
    9             real(kind=8) :: a1,a2,a3,b1,b2,b3,c1,c2,c3
    10             real(kind=8) :: m2,tc,n,m,a_,b_,c_,A,B,C,n2
     9            real*8 :: a1,a2,a3,b1,b2,b3,c1,c2,c3
     10            real*8 :: m2,tc,n,m,a_,b_,c_,A,B,C,n2
    1111       
    1212            a1=      13.6078
     
    3030           
    3131        ! predict m from m2 and tc
    32                 if(m2/=-9999) then
     32                if(m2.ne.-9999) then
    3333                m=A*exp(B*tc)*m2**C
    3434                endif
    3535        ! get m2 if mass-dimension relationship not proportional to D**2
    36                 if(m2==-9999) then
     36                if(m2.eq.-9999) then
    3737                m2=(m/(A*exp(B*tc)))**(1.0/C)   
    3838                endif
Note: See TracChangeset for help on using the changeset viewer.