Changeset 278 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Sep 5, 2011, 5:52:58 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/thermcell_dqupdown.F90
r256 r278 210 210 211 211 if ((qa(ig,k).lt.0.) .and. (charvar .ne. 'momentum')) then 212 print*,'qa<0!!!',charvar,ig,k,fm0(ig,k),qa(ig,k-1),entr0(ig,k),q(ig,k),fm0(ig,k+1),detr0(ig,k) 213 print*,'---------> Cancelling qa' 214 qa(ig,k)=q(ig,k) 212 if ((q(ig,k) .gt. 0.) .and. ( q(ig,k) .gt. 1.e-15 )) then 213 !! only print if it is the thermal scheme which makes qa<0 214 print*,'qa<0 created by thermals!!!',charvar,ig,k,fm0(ig,k),qa(ig,k-1),entr0(ig,k),q(ig,k),fm0(ig,k+1),detr0(ig,k) 215 print*,'---------> Cancelling qa' 216 endif 217 qa(ig,k)=q(ig,k) !! no action of thermals in this case. 215 218 endif 216 219 else
Note: See TracChangeset
for help on using the changeset viewer.