Changeset 15 for codes/icosagcm/trunk/src/etat0_jablonowsky06.f90
- Timestamp:
- 07/09/12 15:23:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/etat0_jablonowsky06.f90
r12 r15 140 140 REAL(rstd) :: r2 141 141 REAL(rstd) :: utot 142 REAL(rstd) :: lonx,latx 142 143 143 144 DO l=1,llm … … 157 158 158 159 CALL lonlat2xyz(Pi/9,2*Pi/9,V0) 160 159 161 u(:,:)=1e10 160 162 DO l=1,llm … … 165 167 CALL xyz2lonlat(xyz_e(ij+u_right,:)/radius,lon,lat) 166 168 CALL cross_product2(V0,xyz_e(ij+u_right,:)/radius,ep) 167 r2=(asin(s um(ep*ep)))**2169 r2=(asin(sqrt(sum(ep*ep))))**2 168 170 utot=u0*cos(etav(l))**1.5*sin(2*lat)**2 + up0*exp(-r2/0.01) 169 171 … … 184 186 CALL xyz2lonlat(xyz_e(ij+u_lup,:)/radius,lon,lat) 185 187 CALL cross_product2(V0,xyz_e(ij+u_lup,:)/radius,ep) 186 r2=(asin(s um(ep*ep)))**2188 r2=(asin(sqrt(sum(ep*ep))))**2 187 189 utot=u0*cos(etav(l))**1.5*sin(2*lat)**2 + up0*exp(-r2/0.01) 188 190 ulon(1) = -sin(lon) * utot … … 205 207 CALL xyz2lonlat(xyz_e(ij+u_ldown,:)/radius,lon,lat) 206 208 CALL cross_product2(V0,xyz_e(ij+u_ldown,:)/radius,ep) 207 r2=(asin(s um(ep*ep)))**2209 r2=(asin(sqrt(sum(ep*ep))))**2 208 210 utot=u0*cos(etav(l))**1.5*sin(2*lat)**2 + up0*exp(-r2/0.01) 209 211 ulon(1) = -sin(lon) * utot
Note: See TracChangeset
for help on using the changeset viewer.