- 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/setspi.F90
r227 r298 25 25 use radcommon_h, only: BWNI,BLAMI,WNOI,DWNI,WAVEI,planckir,sigma 26 26 use datafile_mod, only: datadir 27 use mod_phys_lmdz_para, only : is_master 27 28 28 29 implicit none … … 105 106 close(131) 106 107 107 write(*,*) 'setspi: L_NSPECTI = ',L_NSPECTI, 'in the model '108 write(*,*) ' there are ',nb, 'entries in ',TRIM(file_path)108 if (is_master) write(*,*) 'setspi: L_NSPECTI = ',L_NSPECTI, 'in the model ' 109 if (is_master) write(*,*) ' there are ',nb, 'entries in ',TRIM(file_path) 109 110 if(nb.ne.L_NSPECTI) then 110 111 write(*,*) 'MISMATCH !! I stop here' … … 125 126 !$OMP BARRIER 126 127 128 if (is_master) then 127 129 print*,'' 128 130 print*,'setspi: IR band limits:' … … 130 132 print*,m,'-->',BWNI(M),' cm^-1' 131 133 end do 134 end if 132 135 133 136 ! Set up mean wavenumbers and wavenumber deltas. Units of … … 149 152 ! original planck.f; W m^-2 wavenumber^-1, where wavenumber is in CM^-1. 150 153 154 if (is_master) then 151 155 print*,'' 152 156 print*,'setspi: Current Planck integration range:' 153 157 print*,'T = ',dble(NTstar)/NTfac, ' to ',dble(NTstop)/NTfac,' K.' 158 end if 154 159 155 160 do NW=1,L_NSPECTI … … 173 178 ! force planck=sigma*eps*T^4 for each temperature in array 174 179 if(forceEC)then 175 print*,'setspi: Force F=sigma*eps*T^4 for all values of T!'180 if (is_master) print*,'setspi: Force F=sigma*eps*T^4 for all values of T!' 176 181 do nt=NTstar,NTstop 177 182 plancksum=0.0D0 … … 198 203 plancksum=plancksum+planckir(NW,nt-NTstar+1)*DWNI(NW)*pi 199 204 end do 200 print*,'setspi: At lower limit:'201 print*,'in model sig*T^4 = ',plancksum,' W m^-2'202 print*,'actual sig*T^4 = ',sigma*(dble(nt)/NTfac)**4,' W m^-2'205 if (is_master) print*,'setspi: At lower limit:' 206 if (is_master) print*,'in model sig*T^4 = ',plancksum,' W m^-2' 207 if (is_master) print*,'actual sig*T^4 = ',sigma*(dble(nt)/NTfac)**4,' W m^-2' 203 208 204 209 ! check energy conservation at upper temperature boundary … … 208 213 plancksum=plancksum+planckir(NW,nt-NTstar+1)*DWNI(NW)*pi 209 214 end do 210 print*,'setspi: At upper limit:'211 print*,'in model sig*T^4 = ',plancksum,' W m^-2'212 print*,'actual sig*T^4 = ',sigma*(dble(nt)/NTfac)**4,' W m^-2'213 print*,''215 if (is_master) print*,'setspi: At upper limit:' 216 if (is_master) print*,'in model sig*T^4 = ',plancksum,' W m^-2' 217 if (is_master) print*,'actual sig*T^4 = ',sigma*(dble(nt)/NTfac)**4,' W m^-2' 218 if (is_master) print*,'' 214 219 endif 215 220
Note: See TracChangeset
for help on using the changeset viewer.