Changeset 2870 for trunk/LMDZ.GENERIC/libf/phystd/interpolateH2H2.F90
- Timestamp:
- Jan 16, 2023, 4:47:10 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/interpolateH2H2.F90
r2837 r2870 58 58 59 59 character*20 bleh 60 double precision blah, Ttemp 60 double precision blah, Ttemp, ztemp 61 61 integer nres 62 62 63 63 integer ind 64 65 ztemp=temp 64 66 if ((H2orthopara_mixture .eq. "hot")) then 65 if ( temp .gt. 7000.) then67 if (ztemp .gt. 7000.) then 66 68 if (strictboundcia) then 67 69 if (is_master) then … … 70 72 stop 71 73 else 72 if (is_master) then73 print*,'Your temperatures are too high for this H2-H2 CIA dataset (Hot Jupiter case)'74 print*,'you have chosen strictboundcia = ', strictboundcia75 print*,'*********************************************************'76 print*,' we allow model to continue but with temp = 7000 '77 print*,' ... for H2-H2 CIA dataset ... '78 print*,' ... we assume we know what you are doing ... '79 print*,'*********************************************************'80 endif !is_master81 temp = 7000.74 !if (is_master) then 75 ! print*,'Your temperatures are too high for this H2-H2 CIA dataset (Hot Jupiter case)' 76 ! print*,'you have chosen strictboundcia = ', strictboundcia 77 ! print*,'*********************************************************' 78 ! print*,' we allow model to continue but with temp = 7000 ' 79 ! print*,' ... for H2-H2 CIA dataset ... ' 80 ! print*,' ... we assume we know what you are doing ... ' 81 ! print*,'*********************************************************' 82 !endif !is_master 83 ztemp = 7000. 82 84 endif !strictboundcia 83 85 endif !(temp .gt. 7000.) 84 86 else ! if not "hot" 85 if( temp.gt.400)then87 if(ztemp.gt.400)then 86 88 if (strictboundcia) then 87 89 if (is_master) then … … 92 94 stop 93 95 else 94 if (is_master) then95 print*,'Your temperatures are too high for this H2-H2 CIA dataset'96 print*,'you have chosen strictboundcia = ', strictboundcia97 print*,'*********************************************************'98 print*,' we allow model to continue but with temp = 400 '99 print*,' ... for H2-H2 CIA dataset ... '100 print*,' ... we assume we know what you are doing ... '101 print*,'*********************************************************'102 endif !is_master103 temp = 40096 !if (is_master) then 97 ! print*,'Your temperatures are too high for this H2-H2 CIA dataset' 98 ! print*,'you have chosen strictboundcia = ', strictboundcia 99 ! print*,'*********************************************************' 100 ! print*,' we allow model to continue but with temp = 400 ' 101 ! print*,' ... for H2-H2 CIA dataset ... ' 102 ! print*,' ... we assume we know what you are doing ... ' 103 ! print*,'*********************************************************' 104 !endif !is_master 105 ztemp = 400 104 106 endif !of strictboundcia 105 elseif( temp.lt.40)then107 elseif(ztemp.lt.40)then 106 108 if (strictboundcia) then 107 109 if (is_master) then … … 112 114 stop 113 115 else 114 if (is_master) then115 print*,'Your temperatures are too low for this H2-H2 CIA dataset'116 print*,'you have chosen strictboundcia = ', strictboundcia117 print*,'*********************************************************'118 print*,' we allow model to continue but with temp = 40 '119 print*,' ... for H2-H2 CIA dataset ... '120 print*,' ... we assume we know what you are doing ... '121 print*,'*********************************************************'122 endif !is_master123 temp = 40116 !if (is_master) then 117 ! print*,'Your temperatures are too low for this H2-H2 CIA dataset' 118 ! print*,'you have chosen strictboundcia = ', strictboundcia 119 ! print*,'*********************************************************' 120 ! print*,' we allow model to continue but with temp = 40 ' 121 ! print*,' ... for H2-H2 CIA dataset ... ' 122 ! print*,' ... we assume we know what you are doing ... ' 123 ! print*,'*********************************************************' 124 !endif !is_master 125 ztemp = 40 124 126 endif !of strictboundcia 125 127 endif ! of (temp .gt. 400) … … 216 218 217 219 218 call bilinearbig(nS,nT,wn_arr,temp_arr,abs_arr,wn, temp,abcoef,ind)220 call bilinearbig(nS,nT,wn_arr,temp_arr,abs_arr,wn,ztemp,abcoef,ind) 219 221 220 222 !print*,'the absorption is ',abcoef,' cm^5 molecule^-2'
Note: See TracChangeset
for help on using the changeset viewer.