Changeset 1238 for trunk/LMDZ.MARS/libf
- Timestamp:
- May 7, 2014, 12:35:26 PM (11 years ago)
- Location:
- trunk/LMDZ.MARS/libf
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/aeronomars/jthermcalc.F
r1119 r1238 158 158 limup=1.e26 159 159 160 ! Ehouarn: sanity check 161 ! test that auxcolinp in monotonously increasing from 1 to nlayermx 162 do j=1,nlayermx-1 163 if (auxcolinp(j).gt.auxcolinp(j+1)) then 164 !there is a problem 165 write(*,*) "jthermcalc error: " 166 write(*,*) "auxcolinp() not increasing with altitude index!" 167 write(*,*) "j=",j," auxcolinp(j)=",auxcolinp(j) 168 write(*,*) " auxcolinp(j+1)=",auxcolinp(j+1) 169 ! Quick fix: 170 if (j==1) then 171 auxcolinp(j)=auxcolinp(j+1)/2. 172 else 173 ! compute it as a geometric mean from encompassing values 174 auxcolinp(j)=sqrt(auxcolinp(j-1)*auxcolinp(j+1)) 175 endif 176 write(*,*) " Quick fixed to auxcolinp(j)=",auxcolinp(j) 177 endif 178 enddo 160 179 161 180 c Interpolations -
trunk/LMDZ.MARS/libf/dyn3d/addfi.F
r38 r1238 104 104 ENDDO 105 105 ENDDO 106 c 106 !*********************** 107 ! Correction on teta due to surface pressure changes 108 DO k = 1,llm 109 DO j = 1,ip1jmp1 110 pteta(j,k)= pteta(j,k)*(1+pdpfi(j)*pdt/pps(j))**kappa 111 ENDDO 112 ENDDO 113 !*********************** 107 114 108 115 ! increment covariant zonal wind -
trunk/LMDZ.MARS/libf/phymars/vdif_cd.F
r1236 r1238 195 195 else 196 196 c For Ri>Ric, we consider Ri->Infinity => no turbulent mixing at surface 197 fm(ig)=0. 198 fh(ig)=0. 197 ! fm(ig)=0. 198 ! fh(ig)=0. 199 fm(ig)=1. 200 fh(ig)=1. 199 201 endif 200 202 c Unstable case :
Note: See TracChangeset
for help on using the changeset viewer.