Changeset 2144 for trunk/LMDZ.GENERIC/libf/phystd/thermcell_dq.F90
- Timestamp:
- Jun 20, 2019, 7:07:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/thermcell_dq.F90
r2143 r2144 136 136 !------------------------------------------------------------------------------- 137 137 138 IF (dqimpl==0) THEN 139 DO l=1,nlay-1 140 q(:,l) = q(:,l) + (fqa(:,l) - fqa(:,l+1) - fm(:,l) * q(:,l) & 141 & + fm(:,l+1) * q(:,l+1)) * ptimestep / masse(:,l) 142 ENDDO 143 ELSEIF (dqimpl==1) THEN 138 IF (dqimpl) THEN 144 139 DO l=nlay-1,1,-1 145 140 q(:,l) = ( q(:,l) + ptimestep / masse(:,l) & … … 148 143 ENDDO 149 144 ELSE 150 print *, 'ERROR: No corresponding scheme for mixing computations!'151 print *, ' dqimpl must be equal to 1, 0 or -1 but'152 print *, 'dqimpl =', dqimpl153 call abort145 DO l=1,nlay-1 146 q(:,l) = q(:,l) + (fqa(:,l) - fqa(:,l+1) - fm(:,l) * q(:,l) & 147 & + fm(:,l+1) * q(:,l+1)) * ptimestep / masse(:,l) 148 ENDDO 154 149 ENDIF 155 150
Note: See TracChangeset
for help on using the changeset viewer.