! inlist_massive_rotating

! note: this inlist is done after 1st doing inlist_massive_defaults
! so can override defaults as desired.

&star_job

      create_pre_main_sequence_model = .true.
      
      new_rotation_flag = .true.
      change_rotation_flag = .false.  ! rotation off until near zams
      new_omega_div_omega_crit = 0.1  
      near_zams_relax_omega_div_omega_crit = .true.
      num_steps_to_relax_rotation = 50 ! use this many steps to change value

      !pgstar_flag = .false.

/ ! end of star_job namelist


&controls

      ! check for retries and backups as part of test_suite
      ! you can delete this for use outside of test_suite
         max_number_backups = 400
         max_number_retries = 900
         max_model_number = 9000

         !max_allowed_nz = 20000 ! maximum number of grid points allowed

         initial_mass = 80
         initial_z = 3e-2
      
         
         num_trace_history_values = 2
         trace_history_value_name(1) = 'k_const_mass'
         trace_history_value_name(2) = 'logxq_const_mass'
         
         no_wind_if_no_rotation = .true. ! delay wind until start rotation

         D_DSI_factor = 1.0
         D_SH_factor =  0.0
         D_SSI_factor = 1.16
         D_ES_factor =  1.16
         D_GSF_factor = 1.16
         D_ST_factor = 1.0
         
         am_D_mix_factor = 0.0333d0
         am_nu_factor = 1.0
         am_gradmu_factor = 0.05

         RGB_wind_scheme = 'Dutch'
         AGB_wind_scheme = 'Dutch'
         Dutch_wind_lowT_scheme = 'de Jager'
         RGB_to_AGB_wind_switch = 1d-4
         Dutch_wind_eta = 0.6

         max_rotational_mdot_boost = 10

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

         !report_hydro_solver_progress = .true. ! set true to see info about newton iterations
         !report_ierr = .true. ! if true, produce terminal output when have some internal error

         !report_why_dt_limits = .true.
         !report_all_dt_limits = .true.
         
         !show_mesh_changes = .true.
         !mesh_dump_call_number = 1598
         
         !okay_to_remesh = .false.
         
         !trace_evolve = .true.
         
         ! hydro debugging
         !hydro_check_everything = .true.
         !hydro_inspectB_flag = .true.
      
         !hydro_numerical_jacobian = .true.
         !hydro_save_numjac_plot_data = .true.
         !small_mtx_decsol = 'lapack'
         !large_mtx_decsol = 'lapack'
         !hydro_dump_call_number = 195

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