Changeset 3712 for trunk/LMDZ.MARS
- Timestamp:
- Apr 3, 2025, 10:45:25 AM (3 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3710 r3712 4789 4789 Change default scheme for molecular diffusion in the thermosphere to the 4790 4790 MPF scheme. 4791 Add extra checking in nirco2abs to ensure having nircorr==1 when o and 4792 co2 tracers are available. -
trunk/LMDZ.MARS/deftank/callphys.def.GCM6
r3468 r3712 67 67 callnirco2 = .true. 68 68 # NIR NLTE correction ? matters only if callnirco2=T 69 # nircorr should be set to 1 if co2 and o tracers are available, 0 otherwise 69 70 nircorr=0 70 71 # call turbulent vertical diffusion ? -
trunk/LMDZ.MARS/deftank/callphys.def.MCD6
r3710 r3712 67 67 callnirco2 = .true. 68 68 # NIR NLTE correction ? matters only if callnirco2=T 69 nircorr=0 69 # nircorr should be set to 1 if co2 and o tracers are available, 0 otherwise 70 nircorr=1 70 71 # call turbulent vertical diffusion ? 71 72 calldifv = .true. -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r3582 r3712 224 224 $ "1-> new correction", 225 225 $ "(matters only if callnirco2=T)" 226 #ifdef MESOSCALE 226 227 227 nircorr=0 !default value. this is OK below 60 km. 228 #else 229 nircorr=0 !default value 230 #endif 228 ! nircorr=1 should be prefered, but requires that co2 229 ! and o tracers be available 231 230 call getin_p("nircorr",nircorr) 232 231 write(*,*) " nircorr = ",nircorr -
trunk/LMDZ.MARS/libf/phymars/nirco2abs.F
r3006 r3712 126 126 call abort_physic("nirco2abs","need an O tracer",1) 127 127 endif 128 endif 128 else ! when nircorr==0 129 ! Make a sanity check; if both o and co2 tracers are available 130 ! then there is no reason to have nircorr==0 131 ico2=igcm_co2 132 io=igcm_o 133 if ((ico2/=0).and.(io/=0)) then 134 write(*,*) "nirco2abs error: O and CO2 tracers available" 135 write(*,*) " but nircorr=0; we recommended using nircorr=1" 136 call abort_physic("nirco2abs","need nircorr=1",1) 137 endif 138 endif ! of if (nircorr.eq.1) 129 139 firstcall=.false. 130 140 endif
Note: See TracChangeset
for help on using the changeset viewer.