Ignore:
Timestamp:
Sep 11, 2024, 4:27:07 PM (9 days ago)
Author:
abarral
Message:

Replace REPROBUS CPP KEY by logical using handmade wonky wrapper

File:
1 edited

Legend:

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

    r5160 r5185  
    6363
    6464  ! // if density is constant, set equivalent values for apm and bpm
    65   if ((rho_c > 0) .and. (apm < 0)) then
     65  if ((rho_c > 0) .AND. (apm < 0)) then
    6666    apm = (pi/6)*rho_c
    6767    bpm = 3.
     
    7070  ! Exponential is same as modified gamma with vu =1
    7171  ! if Np is specified then we will just treat as modified gamma
    72   if(dtype.eq.2 .and. Np>0) then
     72  if(dtype.eq.2 .AND. Np>0) then
    7373    local_dtype=1;
    7474    local_p3=1;
     
    117117   
    118118
    119     if( Np.eq.0 .and. p2+1 > 1E-8) then     ! use default value for MEAN diameter as first default
     119    if( Np.eq.0 .AND. p2+1 > 1E-8) then     ! use default value for MEAN diameter as first default
    120120     
    121121        dm = p2             ! by definition, should have units of microns
     
    231231     
    232232    ! get rg ...
    233     if( Np.eq.0 .and. (abs(p2+1) > 1E-8) ) then ! use default value of rg
     233    if( Np.eq.0 .AND. (abs(p2+1) > 1E-8) ) then ! use default value of rg
    234234   
    235235            rg = p2
Note: See TracChangeset for help on using the changeset viewer.