Changeset 5250 for LMDZ6/trunk/libf/dyn3dmem
- Timestamp:
- Oct 22, 2024, 11:55:35 AM (13 months ago)
- Location:
- LMDZ6/trunk/libf/dyn3dmem
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3dmem/bands.F90
r2771 r5250 381 381 subroutine AdjustBands_physic 382 382 use times 383 #ifdef CPP_PHYS384 383 ! Ehouarn: what follows is only related to // physics 385 384 USE mod_phys_lmdz_para, only : klon_mpi_para_nb 386 #endif 385 387 386 USE parallel_lmdz 387 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_PHYS 388 388 389 implicit none 389 390 … … 408 409 medium=medium/mpi_size 409 410 NbTot=0 410 #ifdef CPP_PHYS 411 IF (CPPKEY_PHYS) THEN 411 412 do i=0,mpi_size-1 412 413 Inc(i)=nint(klon_mpi_para_nb(i)*(medium-value(i))/value(i)) 413 NbTot=NbTot+Inc(i) 414 enddo 415 414 NbTot=NbTot+Inc(i) 415 enddo 416 416 417 if (NbTot>=0) then 417 418 Sgn=1 … … 420 421 NbTot=-NbTot 421 422 endif 422 423 423 424 Index=0 424 425 do i=1,NbTot … … 427 428 if (Index>mpi_size-1) Index=0 428 429 enddo 429 430 430 431 do i=0,mpi_size-1 431 432 distrib_phys(i)=klon_mpi_para_nb(i)+inc(i) 432 433 enddo 433 #endif 434 END IF 434 435 435 436 end subroutine AdjustBands_physic -
LMDZ6/trunk/libf/dyn3dmem/call_calfis_mod.F90
r5084 r5250 88 88 USE comvert_mod, ONLY: ap, bp, pressure_exner 89 89 USE temps_mod, ONLY: day_ini, day_ref, jd_ref, jh_ref, start_time 90 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_PHYS 91 90 92 91 93 IMPLICIT NONE … … 230 232 !$OMP BARRIER 231 233 232 #ifdef CPP_PHYS 234 IF (CPPKEY_PHYS) THEN 233 235 CALL calfis_loc(lafin ,jD_cur, jH_cur, & 234 236 ucov,vcov,teta,q,masse,ps,p,pk,phis,phi , & 235 237 du,dv,dteta,dq, & 236 238 flxw, dufi,dvfi,dtetafi,dqfi,dpfi ) 237 #endif 239 END IF 238 240 ijb=ij_begin 239 241 ije=ij_end -
LMDZ6/trunk/libf/dyn3dmem/gcm.F90
r4996 r5250 20 20 USE control_mod 21 21 22 #ifdef CPP_PHYS23 22 USE iniphysiq_mod, ONLY: iniphysiq 24 #endif25 23 USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, r, rad 26 24 USE logic_mod ! all of it, because of copyin clause when calling leapfrog … … 29 27 dt,hour_ini,itaufin 30 28 USE mod_xios_dyn3dmem, ONLY: xios_dyn3dmem_init 29 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_PHYS 30 31 31 32 32 IMPLICIT NONE … … 415 415 IF ((iflag_phys==1).or.(iflag_phys>=100)) THEN 416 416 ! Physics: 417 #ifdef CPP_PHYS 417 IF (CPPKEY_PHYS) THEN 418 418 CALL iniphysiq(iim,jjm,llm, & 419 419 distrib_phys(mpi_rank),comm_lmdz, & … … 421 421 rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, & 422 422 iflag_phys) 423 #endif 423 END IF 424 424 ENDIF ! of IF ((iflag_phys==1).or.(iflag_phys>=100)) 425 425
Note: See TracChangeset
for help on using the changeset viewer.
