

&star_job
      show_log_description_at_start = .false.

      load_saved_model = .true.
      load_model_filename = 'lgTmax.mod'

      save_model_when_terminate = .true.
      save_model_filename = 'final.mod'
      required_termination_code_string = 'fe_core_infall_limit'


/ ! end of star_job namelist

&eos
/ ! end of eos namelist

&kap
/ ! end of kap namelist

&controls

! to avoid a host of retries we relax our limits on split_burn
! for speed/stability in test_suite, at reduced time resolution.
op_split_burn_min_T = 1d9

! prevent development of radial pulses during advanced burning
      !drag_coefficient = 1d0
      !min_q_for_drag = 0.8d0

      set_min_D_mix = .true.
      min_D_mix = 1d-2 

      fe_core_infall_limit = 1d7

      ! limit max_model_number as part of test_suite
      max_model_number = 6000
      !max_number_retries = 37

ignore_too_large_correction = .true. ! for conv_vel's

      delta_lg_XH_cntr_min   = 0.5d0
      delta_lg_XO_cntr_min   = 0.5d0
      delta_lg_XC_cntr_min   = 0.5d0
      delta_lg_XHe_cntr_min   = 0.5d0

! wind

! atmosphere

! rotation

! mlt

! mixing

! timesteps
      limit_for_rel_error_in_energy_conservation = 1d-3
      hard_limit_for_rel_error_in_energy_conservation = 1d-2

      delta_XSi_cntr_limit = 0.0025


! mesh

! solver

      calculate_Brunt_B = .true.     ! needed for tau_conv
      max_q_for_conv_timescale = 0.2d0
      max_X_for_conv_timescale = 1d-6   ! must be > 0

! GYRE output controls
      !write_pulse_data_with_profile = .true.
      !x_logical_ctrl(37) = .true. ! if true, then run GYRE
      x_integer_ctrl(1) = 20 ! output GYRE info at this step interval
      x_logical_ctrl(1) = .false. ! save GYRE info whenever save profile
      x_integer_ctrl(2) = 2 ! max number of modes to output per call
      x_logical_ctrl(2) = .false. ! output eigenfunction files
      x_integer_ctrl(3) = 0 ! mode l (e.g. 0 for p modes, 1 for g modes)
      x_integer_ctrl(4) = 1 ! order
      x_ctrl(1) = 0.158d-05 ! freq ~ this (Hz)
      x_ctrl(2) = 0.33d+03 ! growth < this (days)

! output
      terminal_show_age_units = 'secs'
      terminal_show_timestep_units = 'secs'
      terminal_show_log_dt = .false.
      terminal_show_log_age = .false.

      num_trace_history_values = 5
      trace_history_value_name(1) = 'Fe_core'
      trace_history_value_name(2) = 'fe_core_infall'
      trace_history_value_name(3) = 'rel_E_err'
      trace_history_value_name(4) = 'log_rel_run_E_err'
      trace_history_value_name(5) = 'dt_div_max_tau_conv'

      photo_interval = 10
      !profile_interval = 1
      !history_interval = 1
      terminal_interval = 10 

      x_integer_ctrl(5) =  7 ! Inlist part number

/ ! end of controls namelist



&pgstar
!Grid1_file_flag = .true.

!pause_flag = .true.

Profile_Panels3_xaxis_name = 'mass'
Profile_Panels3_xmin = 0 ! -101d0
Profile_Panels3_xmax =  5 ! 
Profile_Panels3_xaxis_reversed = .false.


Profile_Panels3_yaxis_name(4) = 'gamma1'
Profile_Panels3_dymin(4) = 0.14
Profile_Panels3_other_yaxis_name(4) = 'vel_km_per_s'
Profile_Panels3_dymin(4) = 0.14

TRho_Profile_xmin = -15 !3.0
TRho_Profile_xmax = 10
TRho_Profile_ymin = 3.35 !8.5
TRho_Profile_ymax = 10.1

TRho_logT_min = 9.2d0
TRho_logRho_min = 6d0
TRho_logRho_max = 10d0
TRho_logT_max = 10d0

Text_Summary1_name(1,2) = 'time_step_sec'
Text_Summary1_name(2,2) = 'star_age_sec'

/ ! end of pgstar namelist
