- Timestamp:
- 06/13/19 16:45:41 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/dcmip/dcmip2016_baroclinic_wave.f90
r548 r899 40 40 ! 41 41 !======================================================================= 42 43 42 IMPLICIT NONE 44 43 45 44 !======================================================================= 46 45 ! Physical constants … … 99 98 SUBROUTINE baroclinic_wave_test(deep,moist,pertt,X,lon,lat,p,z,zcoords,u,v,t,thetav,phis,ps,rho,q) & 100 99 BIND(c, name = "baroclinic_wave_test") 101 100 use iso_c_binding 102 101 IMPLICIT NONE 103 102 … … 105 104 ! input/output params parameters at given location 106 105 !----------------------------------------------------------------------- 107 INTEGER , INTENT(IN) :: &106 INTEGER(KIND=C_INT32_T), INTENT(IN) :: & 108 107 deep, & ! Deep (1) or Shallow (0) test case 109 108 moist, & ! Moist (1) or Dry (0) test case 110 109 pertt ! Perturbation type 111 110 112 REAL( 8), INTENT(IN) :: &111 REAL(KIND=C_DOUBLE), INTENT(IN) :: & 113 112 lon, & ! Longitude (radians) 114 113 lat, & ! Latitude (radians) 115 114 X ! Earth scaling parameter 116 115 117 REAL( 8), INTENT(INOUT) :: &116 REAL(KIND=C_DOUBLE), INTENT(INOUT) :: & 118 117 p, & ! Pressure (Pa) 119 118 z ! Altitude (m) 120 119 121 INTEGER , INTENT(IN) :: zcoords ! 1 if z coordinates are specified120 INTEGER(KIND=C_INT32_T), INTENT(IN) :: zcoords ! 1 if z coordinates are specified 122 121 ! 0 if p coordinates are specified 123 122 124 REAL( 8), INTENT(OUT) :: &123 REAL(KIND=C_DOUBLE), INTENT(OUT) :: & 125 124 u, & ! Zonal wind (m s^-1) 126 125 v, & ! Meridional wind (m s^-1) … … 138 137 REAL(8) :: T0, constH, constC, scaledZ, inttau2, rratio 139 138 REAL(8) :: inttermU, bigU, rcoslat, omegarcoslat 140 REAL(8) :: eta , qratio, qnum, qden139 REAL(8) :: eta 141 140 142 141 !------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.