
&star_job

      read_extra_star_job_inlist1 = .true.
      extra_star_job_inlist1_name = '../inlist_test_suite'
      
      show_log_description_at_start = .false. 

      save_model_when_terminate = .true.
      save_model_filename = 'irrad2.mod'
      
      write_profile_when_terminate = .true.
      filename_for_profile_when_terminate = 'final_profile.data'

      load_saved_model = .true.
      saved_model_name = 'irrad1.mod'

      change_initial_net = .true.      
      new_net_name = 'basic.net'

      set_initial_model_number = .true.
      initial_model_number = 0

      set_initial_dt = .true.
      years_for_initial_dt = 1d3 ! in years

      eos_file_prefix = 'mesa'
      kappa_file_prefix = 'gs98'
      kappa_lowT_prefix = 'lowT_Freedman11'

      set_tau_factor = .true. ! change tau_factor without reconverging.
      set_to_this_tau_factor = 100
      
      change_lnPgas_flag = .true.
      new_lnPgas_flag = .true.

      !pgstar_flag = .true.

      set_initial_model_number = .true.
      initial_model_number = 0


/ ! end of star_job namelist



&controls

      ! check for retries and backups as part of test_suite
      ! you can/should delete this for use outside of test_suite
         max_number_backups = 100
         max_number_retries = 500
         max_model_number = 1000
      
      mesh_delta_coeff = 0.5
      
      use_Type2_opacities = .false.

      initial_mass = 0.001
      initial_z = 0.02d0

      mixing_length_alpha = 1.89d0 ! based on solar model
      MLT_option = 'Henyey'

      photostep = 50
      profile_interval = 100
      history_interval = 100
      terminal_cnt = 20
      write_header_frequency = 10
      
      max_age = 15d9
      max_years_for_timestep = 1d9
      
      T_mix_limit = 0
      
      which_atm_option = 'grey_irradiated'

      atm_grey_irradiated_atol = 1d-4
      atm_grey_irradiated_rtol = 1d-4
      atm_grey_irradiated_T_eq = 1000 ! equilibrium temperature based on irradiation
         ! e.g., might use T_eq = Teff_star*(R_star/(2*Distance_to_star))^(1/2)
      atm_grey_irradiated_kap_v = 4d-3 ! opacity for irradiation
      atm_grey_irradiated_P_surf = 1d6 ! 1 bar in cgs units
      atm_grey_irradiated_max_tries = 50 ! limit on iterations
      trace_atm_grey_irradiated = .false.
      
      

/ ! end of controls namelist



&pgstar
         
      ! top level controls

         !pause = .true. 
            ! if true, the code waits for user to enter a RETURN on the command line
      


/ ! end of pgstar namelist
