Changeset 899 for codes/icosagcm/trunk/src/dcmip/dcmip2016_supercell.f90
- Timestamp:
- 06/13/19 16:45:41 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/dcmip/dcmip2016_supercell.f90
r548 r899 148 148 149 149 ! Variables for calculation of equatorial profile 150 REAL(8) :: exnereqs, p, T, qvs, qv 151 152 ! Error metric 153 REAL(8) :: err 150 REAL(8) :: exnereqs, p, T, qvs 154 151 155 152 ! Loop indices … … 349 346 SUBROUTINE supercell_test(lon,lat,p,z,zcoords,u,v,t,thetav,ps,rho,q,pert) & 350 347 BIND(c, name = "supercell_test") 351 348 use iso_c_binding 352 349 IMPLICIT NONE 353 350 … … 355 352 ! Input / output parameters 356 353 !------------------------------------------------ 357 REAL( 8), INTENT(IN) :: &354 REAL(KIND=c_double), INTENT(IN) :: & 358 355 lon, & ! Longitude (radians) 359 356 lat ! Latitude (radians) 360 357 361 REAL( 8), INTENT(INOUT) :: &358 REAL(KIND=c_double), INTENT(INOUT) :: & 362 359 p, & ! Pressure (Pa) 363 360 z ! Altitude (m) 364 361 365 INTEGER , INTENT(IN) :: zcoords ! 1 if z coordinates are specified362 INTEGER(KIND=c_int32_t), INTENT(IN) :: zcoords ! 1 if z coordinates are specified 366 363 ! 0 if p coordinates are specified 367 364 368 REAL( 8), INTENT(OUT) :: &365 REAL(KIND=c_double), INTENT(OUT) :: & 369 366 u, & ! Zonal wind (m s^-1) 370 367 v, & ! Meridional wind (m s^-1) … … 375 372 q ! water vapor mixing ratio (kg/kg) 376 373 377 INTEGER , INTENT(IN) :: pert ! 1 if perturbation should be included374 INTEGER(KIND=c_int32_t), INTENT(IN) :: pert ! 1 if perturbation should be included 378 375 ! 0 if no perturbation should be included 379 376
Note: See TracChangeset
for help on using the changeset viewer.