Changeset 2669 in lmdz_wrf
- Timestamp:
- Jul 12, 2019, 6:07:25 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/module_ForDiagnosticsVars.f90
r2666 r2669 2056 2056 INTEGER, INTENT(in) :: dx, dy, dz, dt 2057 2057 REAL(r_k), DIMENSION(dx,dy), INTENT(in) :: ddx,ddy 2058 REAL(r_k), DIMENSION(d x,dy,dz), INTENT(in):: ddz2058 REAL(r_k), DIMENSION(dz), INTENT(in) :: ddz 2059 2059 REAL(r_k), DIMENSION(dx,dy,dz,dt), INTENT(in) :: theta, ua, va, wa 2060 2060 REAL(r_k), DIMENSION(dx,dy,dz,dt), INTENT(out) :: xdiab, ydiab, zdiab … … 2065 2065 ! Local 2066 2066 INTEGER :: i,j,k,l,it 2067 REAL(r_k), DIMENSION(dx,dy,dz) :: modthetagrad 2068 REAL(r_k), DIMENSION(dx,dy,dz,3) :: thetagrad, uagrad, vagrad, wagrad, & 2069 thetadef, thetatilt 2067 2070 2068 2071 !!!!!!! Variables … … 2079 2082 fname = 'var_Frontogenesis' 2080 2083 2084 ! Computing components separately by time-step 2085 DO it=1, dt 2086 CALL gradient3D_1o(dx, dy, dz, theta(:,:,:,it), ddx, ddy, ddz, thetagrad) 2087 CALL gradient3D_1o(dx, dy, dz, ua(:,:,:,it), ddx, ddy, ddz, uagrad) 2088 CALL gradient3D_1o(dx, dy, dz, va(:,:,:,it), ddx, ddy, ddz, vagrad) 2089 CALL gradient3D_1o(dx, dy, dz, wa(:,:,:,it), ddx, ddy, ddz, wagrad) 2090 CALL deformation3D(dx, dy, dz, thetagrad, uagrad, vagrad, thetadef) 2091 CALL tilting3D(dx, dy, dz, thetagrad, wagrad, thetatilt) 2092 xdef(:,:,:,it) = thetadef(:,:,:,1) 2093 ydef(:,:,:,it) = thetadef(:,:,:,2) 2094 zdef(:,:,:,it) = thetadef(:,:,:,3) 2095 xtilt(:,:,:,it) = thetatilt(:,:,:,1) 2096 ytilt(:,:,:,it) = thetatilt(:,:,:,2) 2097 zdiv(:,:,:,it) = thetatilt(:,:,:,3) 2098 2099 END DO 2100 2081 2101 2082 2102 END SUBROUTINE var_Frontogenesis
Note: See TracChangeset
for help on using the changeset viewer.