Changeset 2870 for trunk/LMDZ.GENERIC/libf/phystd/interpolateN2H2.F90
- Timestamp:
- Jan 16, 2023, 4:47:10 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/interpolateN2H2.F90
r2662 r2870 14 14 !================================================================== 15 15 16 use callkeys_mod, only: strictboundcia 16 17 use datafile_mod, only: datadir 17 18 use mod_phys_lmdz_para, only : is_master … … 54 55 55 56 character*20 bleh 56 double precision blah, Ttemp 57 double precision blah, Ttemp, ztemp 57 58 integer nres 58 59 integer ind 59 60 60 if(temp.gt.400)then 61 if (is_master) then 62 print*,'Your temperatures are too high for this N2-H2 CIA dataset.' 63 print*,'Please run mixed N2-H2 atmospheres below T = 400 K.' 64 endif 65 stop 61 ztemp=temp 62 63 if(ztemp.gt.400)then 64 if (strictboundcia) then 65 if (is_master) then 66 print*,'Your temperatures are too high for this N2-H2 CIA dataset. If you ' 67 print*,'really want to run simulations with hydrogen at T > 400 K,' 68 print*,'find relevant data.' 69 endif !is_master 70 stop 71 else 72 !if (is_master) then 73 ! print*,'Your temperatures are too high for this N2-H2 CIA dataset' 74 ! print*,'you have chosen strictboundcia = ', strictboundcia 75 ! print*,'*********************************************************' 76 ! print*,' we allow model to continue but with temp = 4000 ' 77 ! print*,' ... for N2-H2 CIA dataset ... ' 78 ! print*,' ... we assume we know what you are doing ... ' 79 ! print*,'*********************************************************' 80 !endif !is_master 81 ztemp = 400. 82 endif !strictboundcia 66 83 endif 67 84 … … 121 138 endif 122 139 123 call bilinearbig(nS,nT,wn_arr,temp_arr,abs_arr,wn, temp,abcoef,ind)140 call bilinearbig(nS,nT,wn_arr,temp_arr,abs_arr,wn,ztemp,abcoef,ind) 124 141 125 142 ! print*,'the absorption is ',abcoef,' cm^5 molecule^-2'
Note: See TracChangeset
for help on using the changeset viewer.