Changeset 2151 for trunk/LMDZ.MARS/libf/phymars/nlte_aux.F
- Timestamp:
- Sep 5, 2019, 3:33:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/nlte_aux.F
r1124 r2151 354 354 factor = (h-zy(k)) / (zy(k+1)-zy(k)) 355 355 ap = dble( exp( log(py(k)) + log(py(k+1)/py(k)) * factor ) ) 356 aco2 = dlog(con(k)) + dlog( con(k+1)/con(k) ) * dble(factor)356 aco2 = log(con(k)) + log( con(k+1)/con(k) ) * dble(factor) 357 357 aco2 = exp( aco2 ) 358 358 at = dble( ty(k) + (ty(k+1)-ty(k)) * factor ) … … 392 392 ap = dble( exp( log(py_cts(k)) + 393 393 @ log(py_cts(k+1)/py_cts(k)) * factor ) ) 394 aco2 = dlog(con(k)) + dlog( con(k+1)/con(k) ) * dble(factor)394 aco2 = log(con(k)) + log( con(k+1)/con(k) ) * dble(factor) 395 395 aco2 = exp( aco2 ) 396 396 at = dble( ty_cts(k) + (ty_cts(k+1)-ty_cts(k)) * factor ) … … 1168 1168 y3(i) = x3(j) + (x3(j+1)-x3(j)) * factor 1169 1169 else 1170 y1(i) = dexp( dlog(x1(j)) + dlog(x1(j+1)/x1(j)) * factor )1171 y2(i) = dexp( dlog(x2(j)) + dlog(x2(j+1)/x2(j)) * factor )1172 y3(i) = dexp( dlog(x3(j)) + dlog(x3(j+1)/x3(j)) * factor )1170 y1(i) = exp( log(x1(j)) + log(x1(j+1)/x1(j)) * factor ) 1171 y2(i) = exp( log(x2(j)) + log(x2(j+1)/x2(j)) * factor ) 1172 y3(i) = exp( log(x3(j)) + log(x3(j+1)/x3(j)) * factor ) 1173 1173 end if 1174 1174 … … 1235 1235 y4(i) = x4(j) + (x4(j+1)-x4(j)) * factor 1236 1236 else 1237 y1(i) = dexp( dlog(x1(j)) + dlog(x1(j+1)/x1(j)) * factor )1238 y2(i) = dexp( dlog(x2(j)) + dlog(x2(j+1)/x2(j)) * factor )1239 y3(i) = dexp( dlog(x3(j)) + dlog(x3(j+1)/x3(j)) * factor )1240 y4(i) = dexp( dlog(x4(j)) + dlog(x4(j+1)/x4(j)) * factor )1237 y1(i) = exp( log(x1(j)) + log(x1(j+1)/x1(j)) * factor ) 1238 y2(i) = exp( log(x2(j)) + log(x2(j+1)/x2(j)) * factor ) 1239 y3(i) = exp( log(x3(j)) + log(x3(j+1)/x3(j)) * factor ) 1240 y4(i) = exp( log(x4(j)) + log(x4(j+1)/x4(j)) * factor ) 1241 1241 end if 1242 1242 … … 1300 1300 y1(i) = x1(j) + (x1(j+1)-x1(j)) * factor 1301 1301 else 1302 y1(i) = dexp( dlog(x1(j)) + dlog(x1(j+1)/x1(j)) * factor )1302 y1(i) = exp( log(x1(j)) + log(x1(j+1)/x1(j)) * factor ) 1303 1303 end if 1304 1304
Note: See TracChangeset
for help on using the changeset viewer.