Changeset 86 for trunk/mars/libf/phymars/dustlift.F
- Timestamp:
- Mar 3, 2011, 12:38:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mars/libf/phymars/dustlift.F
r38 r86 1 SUBROUTINE dustlift(ngrid,nlay,nq,rho,pcdh_true,pcdh,co2ice, 1 SUBROUTINE dustlift(ngrid,nlay,nq,rho, 2 $ pcdh_true,pcdh,co2ice, 2 3 $ dqslift) 3 4 IMPLICIT NONE … … 44 45 DATA stress_seuil/0.0225/ ! stress seuil soulevement (N.m2) 45 46 47 #ifdef MESOSCALE 48 !!!! AS: In the mesoscale model we'd like to easily set 49 !!!! AS: ... stress for lifting 50 !!!! AS: you have to compile with -DMESOSCALE to do so 51 REAL alpha 52 INTEGER ierr 53 OPEN(99,file='stress.def',status='old',form='formatted' 54 . ,iostat=ierr) 55 !!! no file => default values 56 IF(ierr.EQ.0) THEN 57 READ(99,*) stress_seuil 58 READ(99,*) alpha 59 write(*,*) 'USER-DEFINED threshold: ', stress_seuil, alpha 60 CLOSE(99) 61 alpha_lift(1:nq) = alpha 62 ENDIF 63 #endif 46 64 47 65 c ---------------------------------
Note: See TracChangeset
for help on using the changeset viewer.