Changeset 4146 for trunk/LMDZ.GENERIC/libf/phygeneric/calc_cpp_mugaz.F90
- Timestamp:
- Mar 19, 2026, 2:35:46 PM (10 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phygeneric/calc_cpp_mugaz.F90
r3641 r4146 19 19 20 20 use gases_h 21 use comcstfi_mod, only: cpp , mugaz21 use comcstfi_mod, only: cppd_ref, mugaz_ref 22 22 use callkeys_mod, only: cpp_mugaz_mode 23 23 use mod_phys_lmdz_para, only : is_master … … 155 155 endif 156 156 157 if(((abs(1.-cpp /cpp_c).gt.1.e-6) .or. &158 (abs(1.-mugaz /mugaz_c).gt.1.e-6)).and. is_master ) then157 if(((abs(1.-cppd_ref/cpp_c).gt.1.e-6) .or. & 158 (abs(1.-mugaz_ref/mugaz_c).gt.1.e-6)).and. is_master ) then 159 159 ! Ehouarn: tolerate a small mismatch between computed/stored values 160 print*,'--> Values do not match with the predefined one ! (',cpp ,',',mugaz,')'160 print*,'--> Values do not match with the predefined one ! (',cppd_ref,',',mugaz_ref,')' 161 161 print*,' Because cp varies with temperature and that some gases may not appear in gases.def,' 162 162 print*,' a small discrepancy might be completely normal.' … … 168 168 if (cpp_mugaz_mode==2) then 169 169 if (is_master) print*,'*** cpp_mugaz_mode==2, so setting cpp & mugaz to computations in calc_cpp_mugaz.' 170 mugaz = mugaz_c171 cpp = cpp_c170 mugaz_ref = mugaz_c 171 cppd_ref = cpp_c 172 172 else 173 173 if (is_master) print*,'*** Leaving cpp & mugaz equal to predefined values'
Note: See TracChangeset
for help on using the changeset viewer.
