- Timestamp:
- Jul 6, 2018, 9:01:31 AM (6 years ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/infotrac.F90
r2690 r3361 152 152 CALL abort_gcm('infotrac_init','You must compile with cpp key REPROBUS',1) 153 153 #endif 154 ELSE IF (type_trac == 'co2i') THEN 155 WRITE(lunout,*) 'You have chosen to run with CO2 cycle: type_trac=', type_trac 154 156 ELSE IF (type_trac == 'coag') THEN 155 157 WRITE(lunout,*) 'Tracers are treated for COAGULATION tests : type_trac=', type_trac … … 177 179 ! 178 180 !----------------------------------------------------------------------- 179 IF (type_trac == 'lmdz' .OR. type_trac == 'repr' .OR. type_trac == 'coag' ) THEN181 IF (type_trac == 'lmdz' .OR. type_trac == 'repr' .OR. type_trac == 'coag' .OR. type_trac == 'co2i') THEN 180 182 OPEN(90,file='traceur.def',form='formatted',status='old', iostat=ierr) 181 183 IF(ierr.EQ.0) THEN … … 281 283 ! Get choice of advection schema from file tracer.def or from INCA 282 284 !--------------------------------------------------------------------- 283 IF (type_trac == 'lmdz' .OR. type_trac == 'repr' .OR. type_trac == 'coag' ) THEN285 IF (type_trac == 'lmdz' .OR. type_trac == 'repr' .OR. type_trac == 'coag' .OR. type_trac == 'co2i') THEN 284 286 IF(ierr.EQ.0) THEN 285 287 ! Continue to read tracer.def … … 673 675 if (ipere.gt.nqtot) then 674 676 WRITE(lunout,*) 'Le traceur',iq,'appele ', & 675 & trim(tnom_0(iq)),', est orp elin.'677 & trim(tnom_0(iq)),', est orphelin.' 676 678 CALL abort_gcm('infotrac_init','Un traceur est orphelin',1) 677 679 endif !if (ipere.gt.nqtot) then … … 684 686 WRITE(lunout,*) 'iqpere=',iqpere 685 687 WRITE(lunout,*) 'iqfils=',iqfils 688 WRITE(lunout,*) 'infotrac' 686 689 687 690 ! Calculer le nombre de descendants à partir de iqfils et de nbfils … … 702 705 endif !if (ipere.gt.0) then 703 706 enddo !do while (continu) 707 WRITE(lunout,*) iq 704 708 WRITE(lunout,*) 'Le traceur ',iq,', appele ',trim(tnom_0(iq)),' est un traceur de generation: ',generation 705 709 enddo !DO iq=1,nqtot … … 726 730 enddo !do iq=1,nqtot 727 731 732 WRITE(lunout,*) 'infotrac init fin' 728 733 729 734 ! detecter quels sont les traceurs isotopiques parmi des traceurs -
LMDZ6/trunk/libf/phylmd/phytrac_mod.F90
r3125 r3361 100 100 USE print_control_mod, ONLY: lunout 101 101 USE aero_mod, ONLY : naero_grp 102 103 USE tracco2i_mod 102 104 103 105 #ifdef CPP_StratAer … … 474 476 CASE('repr') 475 477 source(:,:)=0. 478 CASE('co2i') 479 source(:,:)=0. 476 480 #ifdef CPP_StratAer 477 481 CASE('coag') … … 537 541 flag_cvltr(it)=.false. 538 542 543 CASE('co2i') 544 !--co2 tracers are not scavenged 545 flag_cvltr(it)=.false. 546 539 547 #ifdef CPP_StratAer 540 548 CASE('coag') … … 624 632 t_seri, pplay, paprs, sh , & 625 633 tr_seri) 634 635 CASE('co2i') 636 ! -- CO2 interactif -- 637 ! -- source is updated with FF and BB emissions 638 ! -- OB => PC need to add net flux from ocean and orchidee 639 ! -- sign convention : positive into the atmosphere 640 CALL tracco2i(pdtphys, debutphy, & 641 xlat, xlon, pphis, pphi, & 642 t_seri, pplay, paprs, tr_seri, source) 626 643 627 644 #ifdef CPP_StratAer
Note: See TracChangeset
for help on using the changeset viewer.