
! inlist_rotation


&star_job
      show_log_description_at_start = .false.

      load_saved_model = .true.
      saved_model_name = 'he_burn.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_surface_rotation_v = .true.
!      new_surface_rotation_v = 200 ! km/sec   << saved model is rotating 

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


         initial_mass = 15
         initial_z = 2d-2

         RGB_wind_scheme = 'Dutch'
         AGB_wind_scheme = 'Dutch'
         RGB_to_AGB_wind_switch = 1d-4
         Dutch_wind_eta = 0.8

         log_center_density_limit = 12 
         log_center_temp_limit = 10.3d0 ! max T about 2d10

         photostep = 100
         profile_interval = 100
         history_interval = 100
         terminal_cnt = 10
         write_header_frequency = 10
         
         max_model_number = 2001

         xa_central_lower_limit_species(1) = 'he4'
         xa_central_lower_limit(1) = 0.6                       
      
         use_Ledoux_criterion = .true.         
         alpha_semiconvection = 4d-2
         thermo_haline_coeff = 2  

         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
         
         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
         
         delta_lgL_He_limit = -1

         dX_nuc_drop_max_A_limit = 52
         dX_nuc_drop_min_X_limit = 1d-4
         dX_nuc_drop_limit = 5d-3
         dX_nuc_drop_hard_limit = 1d99
         
         delta_lgTeff_limit = 0.005  
         delta_lgL_limit = 0.05
         delta_lgRho_cntr_limit = 0.02  

         mesh_dlog_pp_dlogP_extra = 0.15
         mesh_dlog_cno_dlogP_extra = 0.15
      
         mesh_dlog_3alf_dlogP_extra = 0.15
         mesh_dlog_burn_c_dlogP_extra = 0.15
         
         mesh_dlog_burn_n_dlogP_extra = 0.15
         mesh_dlog_burn_o_dlogP_extra = 0.15
      
         mesh_dlog_burn_ne_dlogP_extra = 0.15
         
         mesh_dlog_burn_na_dlogP_extra = 0.15
         mesh_dlog_burn_mg_dlogP_extra = 0.15
         
         mesh_dlog_cc_dlogP_extra = 0.15
         mesh_dlog_co_dlogP_extra = 0.15
         
         mesh_dlog_oo_dlogP_extra = 0.15
         
         mesh_dlog_burn_si_dlogP_extra = 0.15
         mesh_dlog_burn_s_dlogP_extra = 0.15
         mesh_dlog_burn_ar_dlogP_extra = 0.15
         mesh_dlog_burn_ca_dlogP_extra = 0.15
         mesh_dlog_burn_ti_dlogP_extra = 0.15
         mesh_dlog_burn_cr_dlogP_extra = 0.15
         mesh_dlog_burn_fe_dlogP_extra = 0.15
         
         mesh_dlog_pnhe4_dlogP_extra = 0.15
         mesh_dlog_other_dlogP_extra = 0.15
         mesh_dlog_photo_dlogP_extra = 1
         
         
         xa_function_species(1) = 'ne20'
   		xa_function_weight(1) = 20
   		xa_function_param(1) = 1d-2
         
         xa_function_species(1) = 'si28'
   		xa_function_weight(1) = 20
   		xa_function_param(1) = 1d-2
         
         xa_function_species(1) = 's32'
   		xa_function_weight(1) = 20
   		xa_function_param(1) = 1d-2
         
         xa_function_species(1) = 'fe54'
   		xa_function_weight(1) = 20
   		xa_function_param(1) = 1d-2
         
         xa_function_species(1) = 'fe56'
   		xa_function_weight(1) = 20
   		xa_function_param(1) = 1d-2

         min_overshoot_q = 1d-3 

         T_mix_limit = 1d4


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