Ignore:
Timestamp:
Jul 22, 2024, 9:29:09 PM (2 months ago)
Author:
abarral
Message:

Replace most uses of CPP_DUST by the corresponding logical defined in lmdz_cppkeys_wrapper.F90
Convert several files from .F to .f90 to allow Dust to compile w/o rrtm/ecrad
Create lmdz_yoerad.f90
(lint) Remove "!" on otherwise empty line

File:
1 edited

Legend:

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

    r5095 r5099  
    44! Compiled/Modified:
    55!   07/01/06  John Haynes (haynes@atmos.colostate.edu)
    6 !
     6
    77! m_wat (subroutine)
    88! m_ice (subroutine)
     
    1919  subroutine m_wat(freq, tk, n_r, n_i)
    2020  implicit none
    21 
     21
    2222! Purpose:
    2323!   compute complex index of refraction of liquid water
    24 !
     24
    2525! Inputs:
    2626!   [freq]    frequency (GHz)
    2727!   [tk]       temperature (K)
    28 !
     28
    2929! Outputs:
    3030!   [n_r]     real part index of refraction
    3131!   [n_i]     imaginary part index of refraction
    32 !
     32
    3333! Reference:
    3434!   Based on the work of Ray (1972)
    35 !
     35
    3636! Coded:
    3737!   03/22/05  John Haynes (haynes@atmos.colostate.edu)
     
    8383  subroutine m_ice(freq,t,n_r,n_i)
    8484  implicit none
    85 !
     85
    8686! Purpose:
    8787!   compute complex index of refraction of ice
    88 !
     88
    8989! Inputs:
    9090!   [freq]    frequency (GHz)
    9191!   [t]       temperature (K)
    92 !
     92
    9393! Outputs:
    9494!   [n_r]     real part index of refraction
    9595!   [n_i]     imaginary part index of refraction
    96 !
     96
    9797! Reference:
    9898!    Fortran 90 port from IDL of REFICE by Stephen G. Warren
    99 !
     99
    100100! Modified:
    101101!   05/31/05  John Haynes (haynes@atmos.colostate.edu)
     
    121121! Allowable wavelength range extends from 0.045 microns to 8.6 meter
    122122! temperature dependence only considered beyond 167 microns.
    123 !
     123
    124124! interpolation is done     n_r  vs. log(xlam)
    125125!                           n_r  vs.        t
    126126!                       log(n_i) vs. log(xlam)
    127127!                       log(n_i) vs.        t
    128 !
     128
    129129! Stephen G. Warren - 1983
    130130! Dept. of Atmospheric Sciences
    131131! University of Washington
    132132! Seattle, Wa  98195
    133 !
     133
    134134! Based on
    135 !
     135
    136136!    Warren,S.G.,1984.
    137137!    Optical constants of ice from the ultraviolet to the microwave.
    138138!    Applied Optics,23,1206-1225
    139 !
     139
    140140! Reference temperatures are -1.0,-5.0,-20.0, and -60.0 deg C
    141141 
     
    576576! subroutine MIEINT
    577577! ----------------------------------------------------------------------------
    578 !
     578
    579579!     General purpose Mie scattering routine for single particles
    580580!     Author: R Grainger 1990
     
    583583!     code to ensure correct calculation of backscatter coeficient
    584584!     Options/Extend_Source
    585 !
     585
    586586      Subroutine MieInt(Dx, SCm, Inp, Dqv, Dqxt, Dqsc, Dbsc, Dg, Xs1, Xs2, DPh, Error)
    587587
Note: See TracChangeset for help on using the changeset viewer.