Changeset 2867 for trunk/LMDZ.GENERIC
- Timestamp:
- Jan 16, 2023, 4:47:07 PM (23 months ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/iniaerosol.F
r2831 r2867 35 35 & allocate(i_rgcs_ice(aerogeneric)) 36 36 ! Init of i_rgcs_ice 37 i_rgcs_ice(:) =0 .037 i_rgcs_ice(:) =0 38 38 ia = 1 39 39 do iq=1,nqtot -
trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90
r2865 r2867 478 478 ! -------------------------------- 479 479 if (firstcall) then 480 call getin_p("check_physics_inputs", check_physics_inputs)481 call getin_p("check_physics_outputs", check_physics_outputs)482 483 ! Allocate saved arrays (except for 1D model, where this has already484 ! been done)480 call getin_p("check_physics_inputs", check_physics_inputs) 481 call getin_p("check_physics_outputs", check_physics_outputs) 482 483 ! Allocate saved arrays (except for 1D model, where this has already 484 ! been done) 485 485 #ifndef MESOSCALE 486 if (ngrid>1) call phys_state_var_init(nq)486 if (ngrid>1) call phys_state_var_init(nq) 487 487 #endif 488 488 … … 511 511 512 512 #ifdef CPP_XIOS 513 ! Initialize XIOS context514 write(*,*) "physiq: call wxios_context_init"515 CALL wxios_context_init513 ! Initialize XIOS context 514 write(*,*) "physiq: call wxios_context_init" 515 CALL wxios_context_init 516 516 #endif 517 517 … … 525 525 rnat,pctsrf_sic,tslab, tsea_ice,sea_ice) 526 526 #else 527 emis(:)=0.0 528 q2(:,:)=0.0 529 qsurf(:,:)=0.0 530 day_ini = pday 527 day_ini = pday 531 528 #endif 532 529 … … 557 554 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 558 555 albedo(:,:)=0.0 559 560 561 556 albedo_bareground(:)=0.0 557 albedo_snow_SPECTV(:)=0.0 558 albedo_co2_ice_SPECTV(:)=0.0 562 559 call surfini(ngrid,nq,qsurf,albedo,albedo_bareground,albedo_snow_SPECTV,albedo_co2_ice_SPECTV) 563 560 … … 2596 2593 comm_HR_DYN(1:ngrid,1:nlayer) = zdtdyn(1:ngrid,1:nlayer) 2597 2594 2598 if (turb_resolved) then2599 open(17,file='lsf.txt',form='formatted',status='old')2600 rewind(17)2601 DO l=1,nlayer2602 read(17,*) lsf_dt(l),lsf_dq(l)2603 ENDDO2604 close(17)2605 do ig=1,ngrid2606 if ((tracer).and.(water)) then2607 pdq(ig,:,igcm_h2o_vap) = pdq(ig,:,igcm_h2o_vap) + lsf_dq(:)2608 endif2609 pdt(ig,:) = pdt(ig,:) + lsf_dt(:)2610 comm_HR_DYN(ig,:) = lsf_dt(:)2611 enddo2612 endif2595 ! if (turb_resolved) then 2596 ! open(17,file='lsf.txt',form='formatted',status='old') 2597 ! rewind(17) 2598 ! DO l=1,nlayer 2599 ! read(17,*) lsf_dt(l),lsf_dq(l) 2600 ! ENDDO 2601 ! close(17) 2602 ! do ig=1,ngrid 2603 ! if ((tracer).and.(water)) then 2604 ! pdq(ig,:,igcm_h2o_vap) = pdq(ig,:,igcm_h2o_vap) + lsf_dq(:) 2605 ! endif 2606 ! pdt(ig,:) = pdt(ig,:) + lsf_dt(:) 2607 ! comm_HR_DYN(ig,:) = lsf_dt(:) 2608 ! enddo 2609 ! endif 2613 2610 #endif 2614 2611
Note: See TracChangeset
for help on using the changeset viewer.