Changeset 3466 for trunk/LMDZ.MARS
- Timestamp:
- Oct 21, 2024, 5:42:40 PM (4 weeks ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 deleted
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3465 r3466 4721 4721 - Small update in "analyse_netcdf.py". 4722 4722 - Putting the 1D launching scripts back to the "deftank" folder. 4723 4724 == 21/10/2024 == EM 4725 More tidying in aeronomars: 4726 - remove unused "inv.F" and remove "dtridgl.F" which is not used here and 4727 is a duplicate of the "dtridgl" routine in phymars/swr_toon.F 4728 - turn aeronomars routines to modules, for those which aren't in modules yet. -
trunk/LMDZ.MARS/libf/aeronomars/calchim_mod.F90
r3464 r3466 32 32 use comcstfi_h, only: pi 33 33 use chemthermos_mod, only: chemthermos 34 use chemthermos_readini_mod, only: chemthermos_readini 34 35 use photochemistry_mod, only: photochemistry 36 use deposition_mod, only: deposition 37 use perosat_mod, only: perosat 35 38 use chemistrydata_mod, only: read_phototable 36 39 use photolysis_mod, only: init_photolysis, nphot -
trunk/LMDZ.MARS/libf/aeronomars/chemthermos_readini.F
r1266 r3466 1 module chemthermos_readini_mod 2 3 implicit none 4 5 contains 6 1 7 subroutine chemthermos_readini 2 8 … … 26 32 else 27 33 write(*,*) 28 write(*,*) 'Cannot find file chemthermos_reactionrates.def'29 stop34 call abort_physic("chemthermos_readini", 35 & 'Cannot find file chemthermos_reactionrates.def',1) 30 36 endif 31 37 32 end 38 end subroutine chemthermos_readini 39 40 end module chemthermos_readini_mod -
trunk/LMDZ.MARS/libf/aeronomars/conduction.F
r3158 r3466 1 SUBROUTINE conduction(ngrid,nlayer,ptimestep,pplay,pplev,pt,pdt, 1 MODULE conduction_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 7 SUBROUTINE conduction(ngrid,nlayer,ptimestep,pplay,pplev,pt,pdt, 2 8 $ tsurf,zzlev,zzlay,zdtconduc) 3 9 … … 162 168 enddo ! of do ig=1,ngrid 163 169 164 RETURN 165 END 170 END SUBROUTINE conduction 171 172 END MODULE conduction_mod -
trunk/LMDZ.MARS/libf/aeronomars/deposition.F
r1266 r3466 1 module deposition_mod 2 3 implicit none 4 5 contains 6 1 7 subroutine deposition(ngrid, nlayer, nq, 2 8 & ig, ig_vl1, pplay, pplev, zzlay, zzlev, … … 173 179 c end if 174 180 c 175 return 176 end 181 end subroutine deposition 182 183 end module deposition_mod -
trunk/LMDZ.MARS/libf/aeronomars/inichim_newstart.F90
r2672 r3466 13 13 USE datafile_mod, ONLY: datadir 14 14 use dust_param_mod, only: doubleq, submicron, dustbin 15 use intrplf_mod, only: intrplf 15 16 implicit none 16 17 -
trunk/LMDZ.MARS/libf/aeronomars/intrplf.F
r38 r3466 1 MODULE intrplf_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 c****************************************************** 2 8 SUBROUTINE intrplf(x,y,xd,yd,nd) … … 9 15 c -------------------- 10 16 c Arguments : 11 real x,y 12 real xd(nd),yd(nd) 13 integer nd 17 real,intent(in) :: x 18 real,intent(out) :: y 19 real,intent(in) :: xd(nd),yd(nd) 20 integer,intent(in) :: nd 14 21 c internal 15 22 integer i,j … … 39 46 40 47 99 continue 41 return 42 end 48 49 END SUBROUTINE intrplf 50 51 END MODULE intrplf_mod -
trunk/LMDZ.MARS/libf/aeronomars/moldiff.F
r3158 r3466 1 module moldiff_mod 2 3 implicit none 4 5 contains 6 1 7 subroutine moldiff(ngrid,nlayer,nq, 2 8 & pplay,pplev,pt,pdt,pq,pdq,ptimestep, … … 8 14 & igcm_h2o_vap, mmol 9 15 use conc_mod, only: rnew, mmean 10 USE comcstfi_h 16 use comcstfi_h, only: g 17 use moldiffcoeff_mod, only: moldiffcoeff 11 18 implicit none 12 19 … … 452 459 enddo ! ig loop 453 460 454 return 455 end 461 end subroutine moldiff 456 462 457 463 c ******************************************************************** … … 462 468 c parameter (nmax=100) 463 469 c dimension gam(nmax),a(n),b(n),c(n),r(n),u(n) 464 real gam(n),a(n),b(n),c(n),r(n),u(n) 470 integer,intent(in) :: n 471 real,intent(in) :: a(n),b(n),c(n),r(n) 472 real,intent(out) :: u(n) 473 real :: gam(n),bet 474 integer :: j 465 475 if(b(1).eq.0.)then 466 476 stop 'tridag_sp: error: b(1)=0 !!! ' … … 468 478 bet=b(1) 469 479 u(1)=r(1)/bet 470 do 11j=2,n480 do j=2,n 471 481 gam(j)=c(j-1)/bet 472 482 bet=b(j)-a(j)*gam(j) … … 475 485 endif 476 486 u(j)=(r(j)-a(j)*u(j-1))/bet 477 11 continue 478 do 12j=n-1,1,-1487 enddo 488 do j=n-1,1,-1 479 489 u(j)=u(j)-gam(j+1)*u(j+1) 480 12 continue 481 return 482 end 490 enddo 491 492 end subroutine tridag_sp 483 493 484 494 c ******************************************************************** … … 518 528 B(I)=SUM/A(I,I) 519 529 14 CONTINUE 520 RETURN 521 END 530 531 END SUBROUTINE LUBKSB_SP 522 532 523 533 c ******************************************************************** … … 603 613 IF(A(N,N).EQ.0.)A(N,N)=TINY 604 614 ierr =0 605 RETURN 606 END 607 615 616 END SUBROUTINE LUDCMP_SP 617 618 end module moldiff_mod -
trunk/LMDZ.MARS/libf/aeronomars/moldiffcoeff.F
r2615 r3466 1 module moldiffcoeff_mod 2 3 implicit none 4 5 contains 6 1 7 subroutine moldiffcoeff(dij) 2 8 … … 218 224 close(56) 219 225 220 221 return 222 end 226 end subroutine moldiffcoeff 227 228 end module moldiffcoeff_mod -
trunk/LMDZ.MARS/libf/aeronomars/molvis.F
r3158 r3466 1 SUBROUTINE molvis(ngrid,nlayer,ptimestep, 1 MODULE molvis_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 7 SUBROUTINE molvis(ngrid,nlayer,ptimestep, 2 8 & pplay,pplev,pt,pdteuv,pdtconduc 3 9 $ ,pvel,tsurf,zzlev,zzlay,zdvelmolvis) … … 176 182 ENDDO ! boucle sur ngrid 177 183 178 RETURN 179 END 184 END SUBROUTINE molvis 185 186 END MODULE molvis_mod -
trunk/LMDZ.MARS/libf/aeronomars/param_read.F
r2610 r3466 1 module param_read_mod 2 3 implicit none 4 5 contains 6 1 7 subroutine param_read 2 8 … … 422 428 call bcast(p2) 423 429 424 return 425 426 427 end 428 430 431 end subroutine param_read 432 433 end module param_read_mod -
trunk/LMDZ.MARS/libf/aeronomars/param_read_e107.F
r2921 r3466 1 module param_read_e107_mod 2 3 implicit none 4 5 contains 6 1 7 subroutine param_read_e107 2 8 … … 547 553 548 554 549 return 550 551 552 end 553 555 end subroutine param_read_e107 556 557 end module param_read_e107_mod -
trunk/LMDZ.MARS/libf/aeronomars/perosat.F
r2615 r3466 1 MODULE perosat_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 SUBROUTINE perosat(ngrid,nlayer,nq,ig, ptimestep, 2 8 $ pplev, pplay, zt, … … 143 149 end do 144 150 145 RETURN 146 END 151 END SUBROUTINE perosat 152 153 END MODULE perosat_mod -
trunk/LMDZ.MARS/libf/aeronomars/photochemistry.F90
r3464 r3466 31 31 use jthermcalc_e107_mod, only: jthermcalc_e107 32 32 use paramfoto_compact_mod, only: phdisrate 33 use photolysis_module, only: photolysis 34 use photolysis_online_mod, only: photolysis_online 33 35 34 36 implicit none -
trunk/LMDZ.MARS/libf/aeronomars/photolysis.F90
r3012 r3466 1 module photolysis_module 2 3 implicit none 4 5 contains 6 1 7 !========================================================================== 2 8 … … 340 346 end do 341 347 342 return 343 end 348 end subroutine photolysis 344 349 345 350 !***************************************************************** 351 352 end module photolysis_module -
trunk/LMDZ.MARS/libf/aeronomars/photolysis_online.F
r2968 r3466 1 module photolysis_online_mod 2 3 implicit none 4 5 contains 6 1 7 !============================================================================== 2 8 … … 1564 1570 1565 1571 end subroutine photolysis_online 1572 1573 end module photolysis_online_mod -
trunk/LMDZ.MARS/libf/aeronomars/surfacearea.F
r2615 r3466 1 module surfacearea_mod 2 3 implicit none 4 5 contains 6 1 7 subroutine surfacearea(ngrid, nlay, naerkind, ptimestep, 2 8 $ pplay, pzlay, … … 126 132 $ "micron2 cm-3",3,surfice*1.e6) 127 133 128 end 134 end subroutine surfacearea 135 136 end module surfacearea_mod -
trunk/LMDZ.MARS/libf/aeronomars/thermosphere.F
r3464 r3466 19 19 use moldiff_MPF_mod, only: moldiff_MPF ! new molecular diffusion scheme 20 20 use euvheat_mod, only: euvheat 21 use conduction_mod, only: conduction 22 use molvis_mod, only: molvis 21 23 use conc_mod, only: rnew, cpnew 22 24 USE comcstfi_h, only: r, cpp -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r3393 r3466 29 29 use nlthermeq_mod, only: nlthermeq 30 30 use thermosphere_mod, only: thermosphere 31 use param_read_e107_mod, only: param_read_e107 31 32 use tracer_mod, only: noms, mmol, igcm_co2, igcm_n2, igcm_co2_ice, 32 33 & igcm_co, igcm_o, igcm_h2o_vap, igcm_h2o_ice, … … 62 63 use nirdata_mod, only: NIR_leedat 63 64 use nirco2abs_mod, only: nirco2abs 65 use surfacearea_mod, only: surfacearea 64 66 use slope_mod, only: theta_sl, psi_sl, getslopes, param_slope 65 67 use conc_mod, only: init_r_cp_mu, update_r_cp_mu_ak, rnew,
Note: See TracChangeset
for help on using the changeset viewer.