Ignore:
Timestamp:
Jan 16, 2023, 4:47:10 PM (23 months ago)
Author:
jleconte
Message:

Removed too many prints in CIA interpolation + correction for hot H2H2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/interpolateN2H2.F90

    r2662 r2870  
    1414  !==================================================================
    1515
     16  use callkeys_mod, only: strictboundcia
    1617  use datafile_mod, only: datadir
    1718  use mod_phys_lmdz_para, only : is_master
     
    5455
    5556  character*20 bleh
    56   double precision blah, Ttemp
     57  double precision blah, Ttemp, ztemp
    5758  integer nres
    5859  integer ind
    5960
    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
    6683  endif
    6784
     
    121138  endif
    122139
    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)
    124141
    125142!     print*,'the absorption is ',abcoef,' cm^5 molecule^-2'
Note: See TracChangeset for help on using the changeset viewer.