Changeset 1563 for LMDZ5/trunk/libf/dyn3dpar/infotrac.F90
- Timestamp:
- Aug 29, 2011, 3:32:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3dpar/infotrac.F90
r1454 r1563 32 32 SUBROUTINE infotrac_init 33 33 USE control_mod 34 34 35 IMPLICIT NONE 35 36 !======================================================================= … … 85 86 86 87 87 IF (config_inca=='none') THEN 88 type_trac='lmdz' 88 ! Coherence test between parameter type_trac and config_inca 89 IF (type_trac=='inca') THEN 90 WRITE(lunout,*) 'You have choosen to couple with INCA chemestry model : type_trac=', & 91 type_trac,' config_inca=',config_inca 92 IF (config_inca/='aero' .AND. config_inca/='chem') THEN 93 WRITE(lunout,*) 'Incoherence between type_trac and config_inca. Model stops. Modify run.def' 94 CALL abort_gcm('infotrac_init','Incoherence between type_trac and config_inca',1) 95 END IF 96 ELSE IF (type_trac == 'lmdz') THEN 97 WRITE(lunout,*) 'Tracers are treated in LMDZ only : type_trac=', type_trac 89 98 ELSE 90 type_trac='inca' 91 END IF 99 WRITE(lunout,*) 'type_trac=',type_trac,' not possible. Model stops' 100 CALL abort_gcm('infotrac_init','bad parameter',1) 101 END IF 102 103 104 ! Test if config_inca is other then none for run without INCA 105 IF (type_trac/='inca' .AND. config_inca/='none') THEN 106 WRITE(lunout,*) 'config_inca will now be changed to none as you do not couple with INCA model' 107 config_inca='none' 108 END IF 109 92 110 93 111 !----------------------------------------------------------------------- … … 119 137 nbtr=nqtrue 120 138 endif 121 ELSE 122 ! nbtr has been read from INCA by init_con t_lmdz() in gcm.F139 ELSE ! type_trac=inca 140 ! nbtr has been read from INCA by init_const_lmdz() in gcm.F 123 141 nqtrue=nbtr+2 124 142 END IF … … 128 146 CALL abort_gcm('infotrac_init','Not enough tracers',1) 129 147 END IF 148 149 130 150 ! 131 151 ! Allocate variables depending on nqtrue and nbtr
Note: See TracChangeset
for help on using the changeset viewer.