Changeset 1883 for trunk/LMDZ.GENERIC/libf/phystd/dyn1d
- Timestamp:
- Jan 2, 2018, 3:11:14 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F
r1826 r1883 35 35 use mod_interface_dyn_phys, only: init_interface_dyn_phys 36 36 use inifis_mod, only: inifis 37 use phys_state_var_mod, only: phys_state_var_init 37 38 use physiq_mod, only: physiq 38 39 implicit none … … 146 147 c INITIALISATION 147 148 c======================================================================= 148 ! initialize "serial/parallel" related stuff 149 ! CALL init_phys_lmdz(iim,jjm+1,llm,1,(/(jjm-1)*iim+2/)) 150 ! CALL init_phys_lmdz(1,1,llm,1,(/1/)) 151 ! call initcomgeomphy 152 153 !! those are defined in surfdat_h.F90 154 IF (.not. ALLOCATED(albedodat)) ALLOCATE(albedodat(1)) 155 IF (.not. ALLOCATED(phisfi)) ALLOCATE(phisfi(1)) 156 IF (.not. ALLOCATED(zmea)) ALLOCATE(zmea(1)) 157 IF (.not. ALLOCATED(zstd)) ALLOCATE(zstd(1)) 158 IF (.not. ALLOCATED(zsig)) ALLOCATE(zsig(1)) 159 IF (.not. ALLOCATED(zgam)) ALLOCATE(zgam(1)) 160 IF (.not. ALLOCATED(zthe)) ALLOCATE(zthe(1)) 161 IF (.not. ALLOCATED(dryness)) ALLOCATE(dryness(1)) 162 IF (.not. ALLOCATED(watercaptag)) ALLOCATE(watercaptag(1)) 163 !! those are defined in comdiurn_h.F90 164 IF (.not.ALLOCATED(sinlat)) ALLOCATE(sinlat(1)) 165 IF (.not.ALLOCATED(coslat)) ALLOCATE(coslat(1)) 166 IF (.not.ALLOCATED(sinlon)) ALLOCATE(sinlon(1)) 167 IF (.not.ALLOCATED(coslon)) ALLOCATE(coslon(1)) 168 149 150 ! read nq from traceur.def 151 open(90,file='traceur.def',status='old',form='formatted', 152 & iostat=ierr) 153 if (ierr.eq.0) then 154 read(90,*,iostat=ierr) nq 155 else 156 nq=0 157 endif 158 close(90) 159 160 ! Initialize dimphy module 161 call init_dimphy(1,llm) 162 ! now initialize arrays using phys_state_var_init 163 call phys_state_var_init(nq) 164 169 165 saveprofile=.false. 170 166 saveprofile=.true. … … 512 508 ! call init_vertical_layers(nlayer,preff,scaleheight, 513 509 ! & ap,bp,aps,bps,presnivs,pseudoalt) 514 call init_dimphy(1,nlayer) ! Initialize dimphy module510 ! call init_dimphy(1,nlayer) ! Initialize dimphy module 515 511 call ini_planete_mod(nlayer,preff,ap,bp) 516 512
Note: See TracChangeset
for help on using the changeset viewer.