Changeset 2703
- Timestamp:
- Jun 21, 2022, 11:05:36 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/initracer.F90
r2693 r2703 134 134 qext(:)=0. 135 135 is_generic(:)= 0 !LT 136 rho_q(:) = 0. !need to be init here if we want to read it from modern traceur with get_tracdat 136 137 137 138 … … 439 440 ! Initialisation tracers .... 440 441 !------------------------------------------------------------ 441 rho_q(1:nq)=0442 ! rho_q(1:nq)=0 442 443 443 444 rho_dust=2500. ! Mars dust density (kg.m-3) … … 626 627 write(*,*) ' Parameter value (default) :'// & 627 628 ' radius=', radius(iq)," m" 628 endif629 !option rho630 if (index(tracline,'rho=') .ne. 0) then631 read(tracline(index(tracline,'rho=') &632 +len('rho='):),*) rho_q(iq)633 write(*,*)'Parameter value (traceur.def) :'// &634 "rho=",rho_q(iq)635 else636 write(*,*) ' Parameter value (default) :'// &637 ' rho=', rho_q(iq)638 endif629 endif 630 !option rho 631 if (index(tracline,'rho=') .ne. 0) then 632 read(tracline(index(tracline,'rho=') & 633 +len('rho='):),*) rho_q(iq) 634 write(*,*)'Parameter value (traceur.def) :'// & 635 "rho=",rho_q(iq) 636 else 637 write(*,*) ' Parameter value (default) :'// & 638 ' rho=', rho_q(iq) 639 endif 639 640 end subroutine get_tracdat 640 641
Note: See TracChangeset
for help on using the changeset viewer.