
&star_job

      read_extra_star_job_inlist1 = .true.
      extra_star_job_inlist1_name = '../inlist_test_suite'
      
      show_log_description_at_start = .false. 
      
      load_saved_model = .true.
      saved_model_name = 'after_1st_TP.mod'

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

      eos_file_prefix = 'mesa'
      kappa_file_prefix = 'gs98'

      !pgstar_flag = .true.


/ ! end of star_job namelist


&controls

         
         num_trace_history_values = 0
         trace_history_value_name(1) = 'k_const_mass'
         trace_history_value_name(2) = 'q_const_mass'
         trace_history_value_name(3) = ''
         

      ! 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 = 5000

      initial_mass = 6
      initial_z = 0.02d0
      
      use_Type2_opacities = .true.
      Zbase = 0.02d0

      dH_div_H_limit = 0.9d0
         
      okay_to_reduce_gradT_excess = .true.
         
            ! these are for calculation of efficiency boosted gradT
            gradT_excess_f1 = 1d-4
            gradT_excess_f2 = 1d-2
            gradT_excess_age_fraction = 0.9d0
            
            ! turn on full all the time
            gradT_excess_lambda1 = 1.0
            gradT_excess_beta1 = 0.5
            gradT_excess_lambda2 = 1.0
            gradT_excess_beta2 = 0.5
            gradT_excess_dlambda = 1
            gradT_excess_dbeta = 1

      ! need to make convection in envelope more efficient for this
      !gradT_excess_limit = 1d-3
      !gradT_excess_factor = 0.01

      varcontrol_target = 1d-3
      mesh_delta_coeff = 1.5

      log_L_lower_limit = -2

      mixing_length_alpha = 2

      use_Ledoux_criterion = .true.
      alpha_semiconvection = 4d-2
      thermohaline_coeff = 2  

      photostep = 50
      profile_interval = 50
      history_interval = 10
      terminal_cnt = 10
      write_header_frequency = 10
      
      max_age = 10d9
      max_years_for_timestep = 1d9
      
      RGB_wind_scheme = 'Reimers'
      AGB_wind_scheme = 'Blocker'
      RGB_to_AGB_wind_switch = 1d-4
      Reimers_wind_eta = 1d0  
      Blocker_wind_eta = 5d0   


/ ! 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
