Changeset 4013 for LMDZ6/branches/Ocean_skin/libf/dynphy_lonlat
- Timestamp:
- Nov 19, 2021, 4:58:59 PM (3 years ago)
- Location:
- LMDZ6/branches/Ocean_skin
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin
- Property svn:mergeinfo changed
-
LMDZ6/branches/Ocean_skin/libf/dynphy_lonlat/inigeomphy_mod.F90
r3605 r4013 93 93 ALLOCATE(boundslat_reg(jjm+1,2)) 94 94 95 DO i=1,iim 96 boundslon_reg(i,east)=rlonu(i+1) 97 boundslon_reg(i,west)=rlonu(i) 95 ! specific handling of the -180 longitude scalar grid point boundaries 96 boundslon_reg(1,east)=rlonu(1) 97 boundslon_reg(1,west)=rlonu(iim)-2*PI 98 DO i=2,iim 99 boundslon_reg(i,east)=rlonu(i) 100 boundslon_reg(i,west)=rlonu(i-1) 98 101 ENDDO 99 102 … … 124 127 cufi_glo(1) = cu(1) 125 128 cvfi_glo(1) = cv(1) 126 boundslonfi_glo(1,north_east)= 0129 boundslonfi_glo(1,north_east)=PI 127 130 boundslatfi_glo(1,north_east)=PI/2 128 boundslonfi_glo(1,north_west)= 2*PI131 boundslonfi_glo(1,north_west)=-PI 129 132 boundslatfi_glo(1,north_west)=PI/2 130 boundslonfi_glo(1,south_west)= 2*PI133 boundslonfi_glo(1,south_west)=-PI 131 134 boundslatfi_glo(1,south_west)=rlatv(1) 132 boundslonfi_glo(1,south_east)= 0135 boundslonfi_glo(1,south_east)=PI 133 136 boundslatfi_glo(1,south_east)=rlatv(1) 134 137 DO j=2,jjm … … 141 144 boundslonfi_glo(k,north_east)=rlonu(i) 142 145 boundslatfi_glo(k,north_east)=rlatv(j-1) 143 boundslonfi_glo(k,north_west)=rlonu(i+1) 146 if (i.eq.1) then 147 ! special case for the first longitude's west bound 148 boundslonfi_glo(k,north_west)=rlonu(iim)-2*PI 149 boundslonfi_glo(k,south_west)=rlonu(iim)-2*PI 150 else 151 boundslonfi_glo(k,north_west)=rlonu(i-1) 152 boundslonfi_glo(k,south_west)=rlonu(i-1) 153 endif 144 154 boundslatfi_glo(k,north_west)=rlatv(j-1) 145 boundslonfi_glo(k,south_west)=rlonu(i+1)146 155 boundslatfi_glo(k,south_west)=rlatv(j) 147 156 boundslonfi_glo(k,south_east)=rlonu(i) … … 154 163 cufi_glo(klon_glo) = cu((iim+1)*jjm+1) 155 164 cvfi_glo(klon_glo) = cv((iim+1)*jjm-iim) 156 boundslonfi_glo(klon_glo,north_east)= 0165 boundslonfi_glo(klon_glo,north_east)= PI 157 166 boundslatfi_glo(klon_glo,north_east)= rlatv(jjm) 158 boundslonfi_glo(klon_glo,north_west)= 2*PI167 boundslonfi_glo(klon_glo,north_west)= -PI 159 168 boundslatfi_glo(klon_glo,north_west)= rlatv(jjm) 160 boundslonfi_glo(klon_glo,south_west)= 2*PI169 boundslonfi_glo(klon_glo,south_west)= -PI 161 170 boundslatfi_glo(klon_glo,south_west)= -PI/2 162 boundslonfi_glo(klon_glo,south_east)= 0171 boundslonfi_glo(klon_glo,south_east)= PI 163 172 boundslatfi_glo(klon_glo,south_east)= -Pi/2 164 173 -
LMDZ6/branches/Ocean_skin/libf/dynphy_lonlat/phylmd/etat0phys_netcdf.F90
r3798 r4013 119 119 INTEGER :: flag_aerosol 120 120 INTEGER :: flag_aerosol_strat 121 INTEGER :: flag_volc_surfstrat 121 122 LOGICAL :: flag_aer_feedback 122 123 LOGICAL :: flag_bc_internal_mixture … … 138 139 iflag_cldcon, & 139 140 iflag_ratqs,ratqsbas,ratqshaut,tau_ratqs, & 140 ok_ade, ok_aie, ok_alw, ok_cdnc, ok_volcan, & 141 aerosol_couple, & 142 chemistry_couple, flag_aerosol, flag_aerosol_strat, & 143 flag_aer_feedback, & 144 flag_bc_internal_mixture, bl95_b0, bl95_b1, & 141 ok_ade, ok_aie, ok_alw, ok_cdnc, ok_volcan, flag_volc_surfstrat, & 142 aerosol_couple, chemistry_couple, flag_aerosol, flag_aerosol_strat, & 143 flag_aer_feedback, flag_bc_internal_mixture, bl95_b0, bl95_b1, & 145 144 read_climoz, alp_offset) 146 145 CALL phys_state_var_init(read_climoz) … … 240 239 241 240 z0m(:,is_oce) = rugmer(:) 242 z0m(:,is_ter) = MAX(1.0e-05,zstd(:)*zsig(:)/2.0)243 z0m(:,is_lic) = MAX(1.0e-05,zstd(:)*zsig(:)/2.0)241 z0m(:,is_ter) = 0.01 !MAX(1.0e-05,zstd(:)*zsig(:)/2.0) 242 z0m(:,is_lic) = 0.001 !MAX(1.0e-05,zstd(:)*zsig(:)/2.0) 244 243 z0m(:,is_sic) = 0.001 245 244 z0h(:,:)=z0m(:,:) -
LMDZ6/branches/Ocean_skin/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90
r3798 r4013 16 16 USE mod_phys_lmdz_para, ONLY: klon_omp ! number of columns (on local omp grid) 17 17 USE vertical_layers_mod, ONLY : init_vertical_layers 18 USE infotrac, ONLY: nqtot,nqo,nbtr, tname,ttext,type_trac,&18 USE infotrac, ONLY: nqtot,nqo,nbtr,nqCO2,tname,ttext,type_trac,& 19 19 niadv,conv_flg,pbl_flg,solsym,& 20 20 nqfils,nqdesc,nqdesc_tot,iqfils,iqpere,& … … 24 24 iso_indnum,zone_num,phase_num,& 25 25 indnum_fn_num,index_trac,& 26 niso,ntraceurs_zone,ntraciso 26 niso,ntraceurs_zone,ntraciso,nqtottr,itr_indice 27 27 #ifdef CPP_StratAer 28 28 USE infotrac, ONLY: nbtr_bin, nbtr_sulgas, id_OCS_strat, & … … 146 146 147 147 ! Initialize tracer names, numbers, etc. for physics 148 CALL init_infotrac_phy(nqtot,nqo,nbtr, tname,ttext,type_trac,&148 CALL init_infotrac_phy(nqtot,nqo,nbtr,nqtottr,nqCO2,tname,ttext,type_trac,& 149 149 niadv,conv_flg,pbl_flg,solsym,& 150 150 nqfils,nqdesc,nqdesc_tot,iqfils,iqpere,& … … 154 154 iso_indnum,zone_num,phase_num,& 155 155 indnum_fn_num,index_trac,& 156 niso,ntraceurs_zone,ntraciso &156 niso,ntraceurs_zone,ntraciso,itr_indice & 157 157 #ifdef CPP_StratAer 158 158 ,nbtr_bin,nbtr_sulgas& … … 172 172 !$OMP END PARALLEL 173 173 174 IF (type_trac == 'inca' ) THEN174 IF (type_trac == 'inca' .OR. type_trac == 'inco') THEN 175 175 #ifdef INCA 176 176 call init_const_lmdz( & … … 198 198 END IF 199 199 200 IF (type_trac == 'inca' ) THEN200 IF (type_trac == 'inca' .OR. type_trac == 'inco') THEN 201 201 #ifdef INCA 202 202 CALL init_inca_dim(klon_omp,nbp_lev,nbp_lon,nbp_lat - 1, &
Note: See TracChangeset
for help on using the changeset viewer.