

&star_job
      show_log_description_at_start = .false.

!      load_saved_model = .true.
!      saved_model_name = 'thermohaline.mod'

      eos_file_prefix = 'mesa'
      kappa_file_prefix = 'gs98'
               
      change_v_flag = .true.
      new_v_flag = .true.
               
      change_rotation_flag = .true.
      new_rotation_flag = .true.
      
      set_initial_surface_rotation_v = .true.
      new_surface_rotation_v = 10 ! km/sec    for 1.0 M
      
      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 = 50
            max_number_retries = 100
            max_model_number = 2001

         initial_mass = 1.0
         initial_z = 2d-2

         ! to match Cantiello & Langer
         RGB_wind_scheme = ''
         AGB_wind_scheme = 'de Jager'
         RGB_to_AGB_wind_switch = 1d-4
         de_Jager_wind_eta = 1

         mixing_D_limit_for_log = 1d4
         
         he_core_mass_limit = 0.24d0
         
      
         use_Ledoux_criterion = .true.
         alpha_semiconvection = 4d-2
         
         
         
         thermo_haline_coeff = 2  
         thermohaline_option = 'Kippenhahn'

         report_ierr = .true.


         dX_mix_dist_limit = 1d-4 

         rate_factor_for_fe56ec_to_cr56 = 1d-4
         
         omega_function_weight = 20
         
         max_iter_for_resid_tol1 = 4
         max_iter_for_resid_tol2 = 7 
         max_iter_for_resid_tol3 = 10


         mdot_omega_power = 0.43

         clip_D_limit = 10 ! zero mixing diffusion coeffs that are smaller than this
         
         xa_scale = 1d-5
         newton_itermin = 2

         tol_correction_norm_alt = 1d-3
         tol_max_correction_alt = 1d0

         mass_change_full_on_dt = 1d7 ! (seconds)
         mass_change_full_off_dt = 1d6 ! (seconds)

         mixing_length_alpha = 1.6
         
         !min_timestep_limit = 1d-12 ! (seconds)

         photostep = 50
         profile_interval = 50
         history_interval = 1
         terminal_interval = 1
         write_header_frequency = 10

         T_mix_limit = 1d4


/ ! end of controls namelist



&pgstar
         

/ ! end of pgstar namelist
