Changeset 2197 for LMDZ5/trunk/libf/phylmd/hines_gwd.F90
- Timestamp:
- Feb 9, 2015, 8:13:05 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/hines_gwd.F90
r1992 r2197 625 625 mmin_alpha, kstar, slope, f1, f2, f3, naz, levbot, levtop, il1, il2, & 626 626 nlons, nlevs, nazmth, sigsqmcw, sigmatm, lorms, sigalpmc, f2mod) 627 628 627 ! Smooth cutoff wavenumbers and total rms velocity in the vertical 629 628 ! direction NSMAX times, using FLUX_U as temporary work array. … … 715 714 i_alpha, mmin_alpha, kstar, slope, f1, f2, f3, naz, levbot, levtop, il1, & 716 715 il2, nlons, nlevs, nazmth, sigsqmcw, sigmatm, lorms, sigalpmc, f2mod) 717 716 IMPLICIT NONE 718 717 ! This routine calculates the cutoff vertical wavenumber and velocity 719 718 ! variances on a longitude by altitude grid for the Hines' Doppler … … 766 765 767 766 INTEGER naz, levbot, levtop, il1, il2, nlons, nlevs, nazmth 768 REAL slope, kstar(nlons), f1, f2, f3 767 REAL slope, kstar(nlons), f1, f2, f3, f2mfac 769 768 REAL m_alpha(nlons, nlevs, nazmth) 770 769 REAL sigma_alpha(nlons, nlevs, nazmth) … … 938 937 SUBROUTINE hines_wind(v_alpha, vel_u, vel_v, naz, il1, il2, lev1, lev2, & 939 938 nlons, nlevs, nazmth) 940 939 IMPLICIT NONE 941 940 ! This routine calculates the azimuthal horizontal background wind 942 941 ! components … … 1034 1033 m_alpha, ak_alpha, k_alpha, slope, naz, il1, il2, lev1, lev2, nlons, & 1035 1034 nlevs, nazmth, lorms) 1036 1035 IMPLICIT NONE 1037 1036 ! Calculate zonal and meridional components of the vertical flux 1038 1037 ! of horizontal momentum and corresponding wave drag (force per unit mass) … … 1089 1088 ! Internal variables. 1090 1089 1091 INTEGER i, l, lev1p, lev2m 1090 INTEGER i, l, lev1p, lev2m, lev2p 1092 1091 REAL cos45, prod2, prod4, prod6, prod8, dendz, dendz2 1093 1092 DATA cos45/0.7071068/ … … 1234 1233 bvfreq, density, densb, sigma_t, visc_mol, kstar, slope, f2, f3, f5, f6, & 1235 1234 naz, il1, il2, lev1, lev2, nlons, nlevs, nazmth) 1236 1235 IMPLICIT NONE 1237 1236 ! This routine calculates the gravity wave induced heating and 1238 1237 ! diffusion coefficient on a longitude by altitude grid for … … 1355 1354 SUBROUTINE hines_sigma(sigma_t, sigma_alpha, sigsqh_alpha, naz, lev, il1, & 1356 1355 il2, nlons, nlevs, nazmth) 1357 1356 IMPLICIT NONE 1358 1357 ! This routine calculates the total rms and azimuthal rms horizontal 1359 1358 ! velocities at a given level on a longitude by altitude grid for … … 1450 1449 SUBROUTINE hines_intgrl(i_alpha, v_alpha, m_alpha, bvfb, slope, naz, lev, & 1451 1450 il1, il2, nlons, nlevs, nazmth, lorms) 1452 1451 IMPLICIT NONE 1453 1452 ! This routine calculates the vertical wavenumber integral 1454 1453 ! for a single vertical level at each azimuth on a longitude grid … … 1643 1642 alt_cutoff, smco, nsmax, iheatcal, k_alpha, ierror, nmessg, nlons, & 1644 1643 nazmth, coslat) 1645 1644 IMPLICIT NONE 1646 1645 ! This routine specifies various parameters needed for the 1647 1646 ! the Hines' Doppler spread gravity wave drag parameterization scheme. … … 1772 1771 sigma_alpha, v_alpha, m_alpha, iu_print, iv_print, nmessg, ilprt1, & 1773 1772 ilprt2, levprt1, levprt2, naz, nlons, nlevs, nazmth) 1774 1773 IMPLICIT NONE 1775 1774 ! Print out altitude profiles of various quantities from 1776 1775 ! Hines' Doppler spread gravity wave drag parameterization scheme. … … 1864 1863 SUBROUTINE hines_exp(data, data_zmax, alt, alt_exp, iorder, il1, il2, lev1, & 1865 1864 lev2, nlons, nlevs) 1866 1865 IMPLICIT NONE 1867 1866 ! This routine exponentially damps a longitude by altitude array 1868 1867 ! of data above a specified altitude. … … 1941 1940 SUBROUTINE vert_smooth(data, work, coeff, nsmooth, il1, il2, lev1, lev2, & 1942 1941 nlons, nlevs) 1943 1942 IMPLICIT NONE 1944 1943 ! Smooth a longitude by altitude array in the vertical over a 1945 1944 ! specified number of levels using a three point smoother.
Note: See TracChangeset
for help on using the changeset viewer.