! inlist_ns


&star_job
      show_log_description_at_start = .false.
   
      load_saved_model = .true.
      saved_model_name = 'ns_1.4M_c.mod'

      change_net = .true.      
      new_net_name = 'approx21.net'
      
      set_rate_3a = 'FL87' ! Fushiki and Lamb, Apj, 317, 368-388, 1987
      set_rate_1212 = 'G05' ! Gasques, et al. Phys Review C, 72, 025806, 2005

      ! shut off PC since get bad convergence for high gamma
      set_eos_PC_parameters = .true.
      mass_fraction_limit_for_PC = 1d-2 ! skip species if abundance < this
      logRho1_PC_limit = 20 ! 3.7d0 ! okay for pure PC for logRho > this
      logRho2_PC_limit = 20 ! 2.8d0 ! don't use PC for logRho < this (>= 2.8 or so because of PPT)
      log_Gamma_all_HELM = 1.60206d0 ! HELM for log_Gamma <= this
      log_Gamma_all_PC = 1.90309d0 ! PC for log_Gamma >= this

      set_to_this_tau_factor = 300 ! tau_factor of 1 puts outer cell at photosphere.
      set_tau_factor = .true. ! change tau_factor without reconverging.

      kappa_file_prefix = 'gs98'

      !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 = 20
         max_number_retries = 80
         max_model_number = 2000
         
      num_trace_history_values = 4
      trace_history_value_name(1) = 'k_below_just_added'
      trace_history_value_name(2) = 'logxq_below_just_added'
      trace_history_value_name(3) = 'k_const_mass'
      trace_history_value_name(4) = 'logxq_const_mass'

      initial_mass = 1
      initial_z = 0.02d0
      
      photostep = 100
      profile_interval = 100
      history_interval = 100
      terminal_cnt = 10
      write_header_frequency = 10
      
      min_timestep_limit = 1d-9
      gamma_center_limit = 1d99

      power_c_burn_upper_limit = 1d3
      
      merge_if_dlnR_too_small = .true.
      mesh_min_dlnR = 1d-9

      
      which_atm_option = 'grey_and_kap'
      !mesh_delta_coeff = 0.5
      
      varcontrol_target = 1d-3 
      
      RGB_wind_scheme = ''
      AGB_wind_scheme = ''
      RGB_to_AGB_wind_switch = 1d-4
      Reimers_wind_eta = 0.5d0  
      Blocker_wind_eta = 0.1d0 
      
      screening_mode = 'extended'
      
      use_GR_factors = .true.
      
      !super_eddington_wind_eta = 1
         
      !mass_change_full_on_dt = 1d-4 ! (seconds)
      !mass_change_full_off_dt = 1d-6 ! (seconds)

      
      accrete_same_as_surface = .false. 
      accrete_given_mass_fractions = .true. 
      num_accretion_species = 1
      accretion_species_xa(1) = 1
      accretion_species_id(1) = 'c12'

      net_pp_rate_factor = 0
      net_cno_rate_factor = 0

      mass_change = 1.7d-9  ! rate of accretion (Msun/year)
      max_abar_for_burning = 55
      
      use_Type2_opacities = .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
