Changeset 5091 for LMDZ6/branches/Amaury_dev/libf/dyn3d
- Timestamp:
- Jul 20, 2024, 11:17:09 PM (6 months ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf/dyn3d
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dyn3d/dynetat0.F90
r5088 r5091 19 19 USE temps_mod, ONLY: annee_ref, day_ini, day_ref, itau_dyn, start_time 20 20 USE ener_mod, ONLY: etot0,ptot0,ztot0,stot0,ang0 21 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA 21 22 22 23 IMPLICIT NONE … … 140 141 ix = strIdx(newHNO3, var); IF(ix /= 0) oldVar = oldHNO3(ix) !--- REPROBUS HNO3 exceptions 141 142 #endif 142 #ifdef INCA 143 IF(var == 'O3') oldVar = 'OX' !--- DEAL WITH INCA OZONE EXCEPTION144 #endif 143 IF (CPPKEY_INCA) THEN 144 IF(var == 'O3') oldVar = 'OX' !--- DEAL WITH INCA OZONE EXCEPTION 145 END IF 145 146 !-------------------------------------------------------------------------------------------------------------------------- 146 147 IF(NF90_INQ_VARID(fID, var, vID) == NF90_NoErr .AND. .NOT.lSkip) THEN !=== REGULAR CASE: AVAILABLE VARIABLE -
LMDZ6/branches/Amaury_dev/libf/dyn3d/integrd.F
r5082 r5091 182 182 c$$$ IF( iadv(1).NE.3.AND.iadv(2).NE.3 ) THEN 183 183 c$$$c 184 c$$$ IF( forward . OR .leapf ) THEN184 c$$$ IF( forward .OR. leapf ) THEN 185 185 c$$$ DO iq = 1,2 186 186 c$$$ DO l = 1,llm -
LMDZ6/branches/Amaury_dev/libf/dyn3d/leapfrog.F
r5090 r5091 344 344 & 'leapfrog 686: avant caladvtrac') 345 345 346 IF( forward . OR .leapf ) THEN346 IF( forward .OR. leapf ) THEN 347 347 ! Ehouarn: NB: fields sent to advtrac are those at the beginning of the time step 348 348 CALL caladvtrac(q,pbaru,pbarv, … … 363 363 ENDIF ! of IF (offline) 364 364 c 365 ENDIF ! of IF( forward . OR .leapf )365 ENDIF ! of IF( forward .OR. leapf ) 366 366 367 367 … … 390 390 IF( itau==itaufin.AND..NOT.forward ) lafin = .TRUE. 391 391 ELSE 392 IF( itau+1 . EQ.itaufin ) lafin = .TRUE.392 IF( itau+1 == itaufin ) lafin = .TRUE. 393 393 ENDIF 394 394 c … … 634 634 c ........................................................ 635 635 636 IF(forward .OR. leapf) THEN636 IF(forward .OR. leapf) THEN 637 637 itau= itau + 1 638 638 c iday= day_ini+itau/day_step … … 645 645 646 646 647 IF( itau . EQ. itaufinp1 ) then647 IF( itau == itaufinp1 ) then 648 648 if (flag_verif) then 649 649 write(79,*) 'ucov',ucov … … 746 746 IF( MOD(itau,iperiod)==0 ) THEN 747 747 GO TO 1 748 ELSE IF ( MOD(itau-1,iperiod) . EQ.0 ) THEN748 ELSE IF ( MOD(itau-1,iperiod) == 0 ) THEN 749 749 750 750 IF( forward ) THEN … … 791 791 792 792 forward = .FALSE. 793 IF( itau . EQ. itaufinp1 ) then793 IF( itau == itaufinp1 ) then 794 794 abort_message = 'Simulation finished' 795 795 call abort_gcm(modname,abort_message,0) … … 801 801 call check_isotopes_seq(q,ip1jmp1,'leapfrog 1698') 802 802 803 IF(MOD(itau,iperiod) .EQ.0 .OR. itau.EQ.itaufin) THEN804 IF(itau .EQ.itaufin) THEN803 IF(MOD(itau,iperiod)==0 .OR. itau==itaufin) THEN 804 IF(itau==itaufin) THEN 805 805 iav=1 806 806 ELSE … … 826 826 ENDIF ! of IF(MOD(itau,iperiod).EQ.0 .OR. itau.EQ.itaufin) 827 827 828 IF(MOD(itau,iecri ) .EQ.0) THEN828 IF(MOD(itau,iecri )==0) THEN 829 829 c IF(MOD(itau,iecri*day_step).EQ.0) THEN 830 830 CALL geopot(ip1jmp1,teta,pk,pks,phis,phi) … … 848 848 ENDIF ! of IF(MOD(itau,iecri ).EQ.0) 849 849 850 IF(itau .EQ.itaufin) THEN850 IF(itau==itaufin) THEN 851 851 ! if (planet_type.eq."earth") then 852 852 CALL dynredem1("restart.nc",start_time,
Note: See TracChangeset
for help on using the changeset viewer.