
! inlist_brown_dwarf


&star_job
      show_log_description_at_start = .false.
      
!      create_pre_main_sequence_model = .true.
!      pre_ms_T_c = 2d5
!      pre_ms_relax_num_steps = 1 

      load_saved_model = .true.
      saved_model_name = 'start.mod'

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

      change_initial_net = .true.      
      new_net_name = 'pp_extras.net'


      !set_rates_preference = .true.
      !new_rates_preference = 2




!      set_uniform_initial_composition = .true.
!      initial_h1 = 0.71
!      initial_h2 = 2d-5 ! if no h2 in current net, then this will be added to h1
!      initial_he3 = 2d-5
!      initial_he4 = 0.27
!      initial_zfracs = 3 ! GS98_zfracs = 3

      eos_file_prefix = 'mesa'
      kappa_file_prefix = 'gs98'

!      relax_mass_scale = .true.
!      dlgm_per_step = 2d-4 ! log10(delta M/Msun/step).
!      new_mass = 0.02 
!      change_mass_years_for_dt = 2
      
      change_lnPgas_flag = .true.
      new_lnPgas_flag = .true.

      !pgstar_flag = .true.

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




      initial_mass = 0.05
      initial_z = 0.02d0
      
      mesh_delta_coeff = 0.5
      
      mixing_length_alpha = 1.89d0 ! based on solar model
      MLT_option = 'Henyey'

      which_atm_option = 'tau_100_tables'
      
      photostep = 50
      profile_interval = 100
      history_interval = 100
      terminal_cnt = 10
      write_header_frequency = 10
      
      max_age = 10d9
      max_years_for_timestep = 1d9
      
      varcontrol_target = 5d-5
      
      max_model_number = 2500
      
      RGB_wind_scheme = ''
      AGB_wind_scheme = ''
      RGB_to_AGB_wind_switch = 1d-4
      Reimers_wind_eta = 0.5d0  
      Blocker_wind_eta = 0.1d0  

/ ! end of controls namelist


&pgstar

/ ! end of pgstar namelist

