Changeset 4358 for LMDZ6/trunk/libf/dyn3d_common
- Timestamp:
- Nov 30, 2022, 4:37:30 PM (2 years ago)
- Location:
- LMDZ6/trunk/libf/dyn3d_common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/control_mod.F90
r4146 r4358 29 29 INTEGER,SAVE :: ip_ebil_dyn 30 30 LOGICAL,SAVE :: offline 31 CHARACTER(len=4),SAVE :: config_inca32 31 CHARACTER(len=10),SAVE :: planet_type ! planet type ('earth','mars',...) 33 32 LOGICAL,SAVE :: output_grads_dyn ! output dynamics diagnostics in -
LMDZ6/trunk/libf/dyn3d_common/infotrac.F90
r4325 r4358 67 67 ! | phase | Phases list ("g"as / "l"iquid / "s"olid) | / | [g][l][s] | 68 68 ! | component | Name(s) of the merged/cumulated section(s) | / | coma-separated names | 69 ! | iadv | Advection scheme number | iadv | 1-20,30 exc. 3-9,15,19 |70 69 ! | iGeneration | Generation (>=1) | / | | 71 ! | isAdvected | advected tracers flag (.TRUE. if iadv >= 0) | / | nqtrue .TRUE. values |72 ! | isInPhysics | tracers not extracted from the main table in physics | / | nqtottr .TRUE. values |73 70 ! | iqParent | Index of the parent tracer | iqpere | 1:nqtot | 74 71 ! | iqDescen | Indexes of the childs (all generations) | iqfils | 1:nqtot | 75 72 ! | nqDescen | Number of the descendants (all generations) | nqdesc | 1:nqtot | 76 73 ! | nqChildren | Number of childs (1st generation only) | nqfils | 1:nqtot | 74 ! | keys | key/val pairs accessible with "getKey" routine | / | | 75 ! | iadv | Advection scheme number | iadv | 1,2,10-20(exc.15,19),30| 76 ! | isAdvected | advected tracers flag (.TRUE. if iadv >= 0) | / | nqtrue .TRUE. values | 77 ! | isInPhysics | tracers not extracted from the main table in physics | / | nqtottr .TRUE. values | 77 78 ! | iso_iGroup | Isotopes group index in isotopes(:) | / | 1:nbIso | 78 79 ! | iso_iName | Isotope name index in isotopes(iso_iGroup)%trac(:) | iso_indnum | 1:niso | 79 80 ! | iso_iZone | Isotope zone index in isotopes(iso_iGroup)%zone(:) | zone_num | 1:nzone | 80 81 ! | iso_iPhas | Isotope phase index in isotopes(iso_iGroup)%phas(:) | phase_num | 1:nphas | 81 ! | keys | key/val pairs accessible with "getKey" routine | / | |82 82 ! +-------------+------------------------------------------------------+-------------+------------------------+ 83 83 ! … … 114 114 115 115 SUBROUTINE init_infotrac 116 USE control_mod, ONLY: planet_type , config_inca116 USE control_mod, ONLY: planet_type 117 117 #ifdef REPROBUS 118 118 USE CHEM_REP, ONLY: Init_chem_rep_trac … … 182 182 msg1 = 'For type_trac = "'//TRIM(types_trac(it))//'":' 183 183 SELECT CASE(types_trac(it)) 184 CASE('inca'); CALL msg(TRIM(msg1)//' coupling with INCA chemistry model , config_inca='//config_inca,modname)184 CASE('inca'); CALL msg(TRIM(msg1)//' coupling with INCA chemistry model', modname) 185 185 CASE('inco'); CALL msg(TRIM(msg1)//' coupling jointly with INCA and CO2 cycle', modname) 186 186 CASE('repr'); CALL msg(TRIM(msg1)//' coupling with REPROBUS chemistry model', modname) … … 191 191 END SELECT 192 192 193 !--- COHERENCE TEST BETWEEN "type_trac" AND "config_inca"194 IF(ANY(['inca', 'inco'] == types_trac(it)) .AND. ALL(['aero', 'aeNP', 'chem'] /= config_inca)) &195 CALL abort_gcm(modname, 'Incoherence between type_trac and config_inca. Please modify "run.def"',1)196 197 193 !--- COHERENCE TEST BETWEEN "type_trac" AND PREPROCESSING KEYS 198 194 SELECT CASE(types_trac(it)) … … 214 210 END DO 215 211 !--------------------------------------------------------------------------------------------------------------------------- 216 217 !--- DISABLE "config_inca" OPTION FOR A RUN WITHOUT "INCA" IF IT DIFFERS FROM "none"218 IF(fmsg('Setting config_inca="none" as you do not couple with INCA model', &219 modname, ALL(types_trac /= 'inca') .AND. ALL(types_trac /= 'inco') .AND. config_inca /= 'none')) config_inca = 'none'220 212 221 213 nqCO2 = COUNT( [ANY(types_trac == 'inco') .OR. (ANY(types_trac == 'co2i') .AND. ANY(types_trac == 'inca'))] )
Note: See TracChangeset
for help on using the changeset viewer.