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/interpolateHeCH4.F90

    r2662 r2870  
    5555
    5656  character*20 bleh
    57   double precision blah, Ttemp
     57  double precision blah, Ttemp, ztemp
    5858  integer nres
    5959  integer ind
    6060
    61   if(temp.gt.350)then
     61  ztemp=temp
     62
     63  if(ztemp.gt.350)then
    6264    if (strictboundcia) then
    6365      if (is_master) then
     
    6769      stop
    6870    else
    69       if (is_master) then
    70         print*,'Your temperatures are too high for this He-CH4 CIA dataset'
    71         print*,'you have chosen strictboundcia = ', strictboundcia
    72         print*,'*********************************************************'
    73         print*,' we allow model to continue but with temp = 350          '
    74         print*,'  ...       for He-CH4 CIA dataset         ...           '
    75         print*,'  ... we assume we know what you are doing ...           '
    76         print*,'*********************************************************'
    77       endif
    78       temp = 350
     71      !if (is_master) then
     72      !  print*,'Your temperatures are too high for this He-CH4 CIA dataset'
     73      !  print*,'you have chosen strictboundcia = ', strictboundcia
     74      !  print*,'*********************************************************'
     75      !  print*,' we allow model to continue but with temp = 350          '
     76      !  print*,'  ...       for He-CH4 CIA dataset         ...           '
     77      !  print*,'  ... we assume we know what you are doing ...           '
     78      !  print*,'*********************************************************'
     79      !endif
     80      ztemp = 350
    7981    endif
    80   elseif(temp.lt.40)then
     82  elseif(ztemp.lt.40)then
    8183    if (strictboundcia) then
    8284      if (is_master) then
     
    8688      stop
    8789    else
    88       if (is_master) then
    89         print*,'Your temperatures are too low for this He-CH4 CIA dataset'
    90         print*,'you have chosen strictboundcia = ', strictboundcia
    91         print*,'*********************************************************'
    92         print*,' we allow model to continue but with temp = 40           '
    93         print*,'  ...       for He-CH4 CIA dataset         ...           '
    94         print*,'  ... we assume we know what you are doing ...           '
    95         print*,'*********************************************************'
    96       endif
    97       temp = 40
     90      !if (is_master) then
     91      !  print*,'Your temperatures are too low for this He-CH4 CIA dataset'
     92      !  print*,'you have chosen strictboundcia = ', strictboundcia
     93      !  print*,'*********************************************************'
     94      !  print*,' we allow model to continue but with temp = 40           '
     95      !  print*,'  ...       for He-CH4 CIA dataset         ...           '
     96      !  print*,'  ... we assume we know what you are doing ...           '
     97      !  print*,'*********************************************************'
     98      !endif
     99      ztemp = 40
    98100    endif
    99101  endif
     
    154156  endif
    155157
    156   call bilinearbig(nS,nT,wn_arr,temp_arr,abs_arr,wn,temp,abcoef,ind)
     158  call bilinearbig(nS,nT,wn_arr,temp_arr,abs_arr,wn,ztemp,abcoef,ind)
    157159
    158160!     print*,'the absorption is ',abcoef,' cm^5 molecule^-2'
Note: See TracChangeset for help on using the changeset viewer.