Changeset 1302 for trunk/LMDZ.COMMON/libf/dyn3d/leapfrog.F
- Timestamp:
- Jun 26, 2014, 6:07:05 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3d/leapfrog.F
r1189 r1302 20 20 & ok_dynzon,periodav,ok_dyn_ave,iecri, 21 21 & ok_dyn_ins,output_grads_dyn 22 use exner_hyb_m, only: exner_hyb 23 use exner_milieu_m, only: exner_milieu 22 24 use cpdet_mod, only: cpdet,tpot2t,t2tpot 23 25 use sponge_mod, only: callsponge,mode_sponge,sponge … … 217 219 endif 218 220 219 itaufin = nday*day_step 221 if (nday>=0) then 222 itaufin = nday*day_step 223 else 224 ! to run a given (-nday) number of dynamical steps 225 itaufin = -nday 226 endif 220 227 if (less1day) then 221 228 c MODIF VENUS: to run less than one day: … … 262 269 CALL pression ( ip1jmp1, ap, bp, ps, p ) 263 270 if (pressure_exner) then 264 CALL exner_hyb( ip1jmp1, ps, p, alpha,beta,pks, pk, pkf )271 CALL exner_hyb( ip1jmp1, ps, p, pks, pk, pkf ) 265 272 else 266 CALL exner_milieu( ip1jmp1, ps, p, beta,pks, pk, pkf )273 CALL exner_milieu( ip1jmp1, ps, p, pks, pk, pkf ) 267 274 endif 268 275 … … 476 483 CALL pression ( ip1jmp1, ap, bp, ps, p ) 477 484 if (pressure_exner) then 478 CALL exner_hyb( ip1jmp1, ps, p, alpha,beta,pks, pk, pkf )485 CALL exner_hyb( ip1jmp1, ps, p,pks, pk, pkf ) 479 486 else 480 CALL exner_milieu( ip1jmp1, ps, p, beta,pks, pk, pkf )487 CALL exner_milieu( ip1jmp1, ps, p, pks, pk, pkf ) 481 488 endif 489 490 ! Compute geopotential (physics might need it) 491 CALL geopot ( ip1jmp1, teta , pk , pks, phis , phi ) 482 492 483 493 jD_cur = jD_ref + day_ini - day_ref + & … … 551 561 CALL massdair(p,masse) 552 562 if (pressure_exner) then 553 CALL exner_hyb( ip1jmp1,ps,p,alpha,beta,pks,pk,pkf)563 CALL exner_hyb( ip1jmp1, ps, p, pks, pk, pkf ) 554 564 else 555 CALL exner_milieu( ip1jmp1,ps,p,beta,pks,pk,pkf)565 CALL exner_milieu( ip1jmp1, ps, p, pks, pk, pkf ) 556 566 endif 557 567 … … 604 614 CALL pression ( ip1jmp1, ap, bp, ps, p ) 605 615 if (pressure_exner) then 606 CALL exner_hyb( ip1jmp1, ps, p, alpha,beta,pks, pk, pkf )616 CALL exner_hyb( ip1jmp1, ps, p, pks, pk, pkf ) 607 617 else 608 CALL exner_milieu( ip1jmp1, ps, p, beta,pks, pk, pkf )618 CALL exner_milieu( ip1jmp1, ps, p, pks, pk, pkf ) 609 619 endif 610 620 CALL massdair(p,masse)
Note: See TracChangeset
for help on using the changeset viewer.