- Timestamp:
- 12/02/14 19:21:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/branches/SATURN_DYNAMICO/LMDZ.COMMON/libf/phystd/sugas_corrk.F90
r227 r298 30 30 ! use ioipsl_getincom 31 31 use ioipsl_getincom_p 32 use mod_phys_lmdz_para, only : is_master 32 33 implicit none 33 34 … … 105 106 do igas=1,ngas 106 107 read(111,*) gastype(igas) 107 print*,'Gas ',igas,' is ',gastype(igas)108 if (is_master) print*,'Gas ',igas,' is ',gastype(igas) 108 109 enddo 109 110 … … 135 136 136 137 ! display the values 138 if (is_master) then 137 139 print*,'Variable gas volume mixing ratios:' 138 140 do n=1,L_REFVAR … … 141 143 end do 142 144 print*,'' 145 end if 143 146 144 147 !======================================================================= … … 172 175 173 176 ! display the values 177 if (is_master) then 174 178 print*,'Correlated-k g-space grid:' 175 179 do n=1,L_NGAUSS … … 177 181 end do 178 182 print*,'' 183 end if 179 184 180 185 !======================================================================= … … 210 215 211 216 ! display the values 217 if (is_master) then 212 218 print*,'Correlated-k pressure grid (mBar):' 213 219 do n=1,L_NPREF … … 215 221 end do 216 222 print*,'' 223 end if 217 224 218 225 ! save the min / max matrix values … … 255 262 256 263 ! display the values 264 if (is_master) then 257 265 print*,'Correlated-k temperature grid:' 258 266 do n=1,L_NTREF 259 267 print*,n,'.',tgasref(n),' K' 260 268 end do 269 end if 261 270 262 271 ! save the min / max matrix values … … 275 284 276 285 ! display the values 277 print*,''278 print*,'Correlated-k matrix size:'279 print*,'[',L_NTREF,',',L_NPREF,',',L_REFVAR,',',L_NGAUSS,']'286 if (is_master) print*,'' 287 if (is_master) print*,'Correlated-k matrix size:' 288 if (is_master) print*,'[',L_NTREF,',',L_NPREF,',',L_REFVAR,',',L_NGAUSS,']' 280 289 281 290 !======================================================================= … … 285 294 ! wavelength used to separate IR from VI in graybody. We will need that anyway 286 295 IR_VI_wnlimit=3000. 287 write(*,*)"graybody: Visible / Infrared separation set at",10000./IR_VI_wnlimit,"um"296 if (is_master) write(*,*)"graybody: Visible / Infrared separation set at",10000./IR_VI_wnlimit,"um" 288 297 289 298 nVI_limit=0 … … 304 313 if (graybody) then 305 314 ! constant absorption coefficient in visible 306 write(*,*)"graybody: constant absorption coefficient in visible:"315 if (is_master) write(*,*)"graybody: constant absorption coefficient in visible:" 307 316 kappa_VI=-100000. 308 317 call getin_p("kappa_VI",kappa_VI) 309 write(*,*)" kappa_VI = ",kappa_VI318 if (is_master) write(*,*)" kappa_VI = ",kappa_VI 310 319 kappa_VI=kappa_VI*1.e4* mugaz * 1.672621e-27 ! conversion from m^2/kg to cm^2/molecule 311 320 312 321 ! constant absorption coefficient in IR 313 write(*,*)"graybody: constant absorption coefficient in InfraRed:"322 if (is_master) write(*,*)"graybody: constant absorption coefficient in InfraRed:" 314 323 kappa_IR=-100000. 315 324 call getin_p("kappa_IR",kappa_IR) 316 write(*,*)" kappa_IR = ",kappa_IR325 if (is_master) write(*,*)" kappa_IR = ",kappa_IR 317 326 kappa_IR=kappa_IR*1.e4* mugaz * 1.672621e-27 ! conversion from m^2/kg to cm^2/molecule 318 327 319 write(*,*)"graybody: Visible / Infrared separation set at band: IR=",nIR_limit,", VI=",nVI_limit328 if (is_master) write(*,*)"graybody: Visible / Infrared separation set at band: IR=",nIR_limit,", VI=",nVI_limit 320 329 321 330 Else … … 330 339 if ((corrkdir(1:4).eq.'null'))then !(TRIM(corrkdir).eq.'null_LowTeffStar')) then 331 340 gasv8(1:L_NTREF,1:L_NPREF,1:L_REFVAR,1:L_NSPECTV,1:L_NGAUSS)=0.0 332 print*,'using no corrk data'333 print*,'Visible corrk gaseous absorption is set to zero if graybody=F'341 if (is_master) print*,'using no corrk data' 342 if (is_master) print*,'Visible corrk gaseous absorption is set to zero if graybody=F' 334 343 else 335 344 file_id='/corrk_data/'//trim(adjustl(banddir))//'/corrk_gcm_VI.dat' … … 363 372 end if 364 373 else 365 print*,'Visible corrk gaseous absorption is set to zero.'374 if (is_master) print*,'Visible corrk gaseous absorption is set to zero.' 366 375 gasv8(1:L_NTREF,1:L_NPREF,1:L_REFVAR,1:L_NSPECTV,1:L_NGAUSS)=0.0 367 376 endif … … 371 380 ! INFRA-RED 372 381 if ((corrkdir(1:4).eq.'null'))then !.or.(TRIM(corrkdir).eq.'null_LowTeffStar')) then 373 print*,'Infrared corrk gaseous absorption is set to zero if graybody=F'382 if (is_master) print*,'Infrared corrk gaseous absorption is set to zero if graybody=F' 374 383 !$OMP MASTER 375 384 gasi8(1:L_NTREF,1:L_NPREF,1:L_REFVAR,1:L_NSPECTI,1:L_NGAUSS)=0.0 … … 662 671 endif 663 672 673 if (is_master) then 664 674 print*,'----------------------------------------------------' 665 675 print*,'And that`s all we have. It`s possible that other' … … 667 677 print*,'don`t yet have data for it...' 668 678 print*,'' 679 end if 669 680 670 681 ! Deallocate local arrays
Note: See TracChangeset
for help on using the changeset viewer.