&star_job  ! inlist_adipls_test   ---  run last part of HD49385   

      show_log_description_at_start = .false.
      
      load_saved_model = .true.
      saved_model_name = 'adipls_test.mod'

      change_net = .true. ! switch nuclear reaction network
      new_net_name = 'basic.net'
      
	   set_rate_n14pg = 'Imbriani'
	   set_rate_c12ag = 'Kunz'
      kappa_file_prefix = 'a09'


      !pgstar_flag = .true.
      

/ ! end of star_job namelist


&controls

      initial_mass = 1.26
      initial_z = 0.019

      mixing_length_alpha = 1.56514925d0
      
      !use_Ledoux_criterion = .true.
      !alpha_semiconvection = 1d-3
      !use_gradmu_alt_for_mlt = .true.
      !gradL_comp_term_logRho_switch = 3
      !nsmooth_gradL_composition_term = 1

      !do_element_diffusion = .true.
      ! overshoot -- need a little if are doing diffusion
      overshoot_f_above_burn_h = 0.0


      ! atmosphere << run pre-ms model 100 steps before change this
      which_atm_option = 'photosphere_tables'     
      !which_atm_option = 'grey_and_kap'
      !which_atm_option = 'Eddington_grey'


      ! controls for output
      photostep = 50
      profile_interval = 50
      log_cnt = 1
      terminal_cnt = 10
      write_header_frequency = 10
      
      !max_model_number = 3
      
      !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 = .false.
      report_all_dt_limits = .false.
      write_varcontrol_internals = -1
      
      report_hydro_dt_info = .false.
      
      !show_mesh_changes = .true.
      !mesh_dump_call_number = 79

      trace_evolve = .false.
      
      ! hydro debugging
      !hydro_numerical_jacobian = .true.
      !hydro_check_everything = .true.
      !hydro_show_rcond = .true.
      !hydro_inspectB_flag = .true.
      !hydro_save_numjac_plot_data = .true.
      !hydro_dump_call_number = 1


      
      
      
      
      ! element diffusion
      !show_diffusion_info = .true. ! terminal output for diffusion
      !diffusion_dump_call_number = 228

      diffusion_dt_limit = 7d11 ! no element diffusion if dt < this limit (in seconds)
      diffusion_atol = 1d-4
      diffusion_rtol = 1d-3
      diffusion_T_full_on = 1d3
      diffusion_T_full_off = 1d3
      diffusion_calculates_ionization = .true.
      diffusion_num_classes = 3 ! number of classes of species for diffusion calculations
      diffusion_class_representative(1) = 'h1'
      diffusion_class_representative(2) = 'he4'
      diffusion_class_representative(3) = 'fe56'
      ! in ascending order.  species goes into 1st class with A_max >= species A
      diffusion_class_A_max(1) = 2
      diffusion_class_A_max(2) = 4
      diffusion_class_A_max(3) = 9999

      
      





 
      ! timesteps
      max_timestep = 3.15d15  ! in seconds.  max_timestep <= 0 means no upper limit.            
      varcontrol_target = 1d-4


      calculate_Brunt_N2 = .true. 
      brunt_N2_coefficient = 1
      

      ! mesh adjustment
      !mesh_delta_coeff = 0.4



/ ! 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
      
      ! main window
      
         MAIN_win_flag = .true.
         
         show_TRho_Profile_with_main = .true.
      
         show_HR_TRho_with_main = .true.
         !show_HR_TRho_with_main = .false.
         !show_loggTe_TRho_with_main = .true.
         
         MAIN_win_width = 7.5
         MAIN_win_aspect_ratio = 1.2 ! aspect_ratio = height/width


         show_HR_target_box = .true.
         HR_target_n_sigma = -3
         HR_target_logL = 0.67
         HR_target_logL_sigma = 0.05
         HR_target_Teff = 6095
         HR_target_Teff_sigma = 65  
      
         xaxis_by = 'by_mass' 
            
         show_main_win_text_info = .true.
         
         ! xaxis limits -- to override system default selections
         !main_xmin = -12 !0.4
         !main_xmax = 0.5
         
         logxq_cutoff = -12.1 ! min value when using logxm for xaxis
         !main_logL_max = 7
         !main_logL_min = 0
         
         ! control for plot showing abundances
         log_mass_frac_ymax = 0.7 ! making this > 0 helps readability
         log_mass_frac_ymin = -7.5
         num_abundance_line_labels = 5
      
         log_abund_vary = 0.1 ! don't show species if it would vary by < this in plot         
      
         ! file output
         !MAIN_file_flag = .true.
         MAIN_file_dir = 'png'
         MAIN_file_prefix = 'main'
         MAIN_file_cnt = 1 ! output when mod(model_number,main_file_cnt)==0
      
      
      ! HR window -- lg_L vs. lg_Teff
      
         HR_win_flag = .false.
      
         HR_win_width = 9
         HR_win_aspect_ratio = 0.62 ! aspect_ratio = height/width
         
         show_HR_cross_hair = .false.
      
         ! axis limits -- to override system default selections
         HR_logT_min = 3.74 ! -101 ! only used if > -100
         HR_logT_max = 3.83 ! only used if > -100
         HR_logL_min = 0.25 ! -101 ! only used if > -100
         HR_logL_max = 0.82 ! -101 ! only used if > -100
      
         HR_age_min = -1 ! only plot models with age >= this
         HR_step_min = -1 ! only plot models with model number >= this
         HR_step_max = 999999 ! only plot models with model number <= this

         show_HR_annotation1 = .false.
         show_HR_annotation2 = .false.
         show_HR_annotation3 = .false.
         
         ! file output
         HR_file_flag = .false.
         HR_file_dir = 'pgstar_out'
         HR_file_prefix = 'hr'
         HR_file_cnt = 5 ! output when mod(model_number,HR_file_cnt)==0
         HR_file_width = -1 ! negative means use same value as for window
         HR_file_aspect_ratio = -1 ! negative means use same value as for window
         
      
               
               
      ! TRho Profile window -- current model in T-Rho plane
      
         TRho_Profile_win_flag = .false.

         TRho_Profile_win_width = 7.5
         TRho_Profile_win_aspect_ratio = 0.618 ! aspect_ratio = height/width
            
         show_TRho_Profile_text_info = .false.
         show_TRho_Profile_legend = .true.
         show_HR_TRho_with_TRho_Profile = .false.
         show_TRho_Profile_burn_labels = .true.
         TRho_Profile_show_logQ_limit = .true.
         !show_TRho_Profile_cross_hair = .true.
         show_TRho_Profile_mass_locs = .false.

         show_TRho_Profile_kap_regions = .false.
         show_TRho_Profile_eos_regions = .true.
         show_TRho_Profile_degeneracy_line = .true.
         show_TRho_Profile_Pgas_Prad_line = .true.
         show_TRho_Profile_burn_lines = .true.

         show_TRho_Profile_annotation1 = .true.
         annotation1_ci = 1 ! color index
         annotation1_ch = 1.1 ! character height
         annotation1_lw = 1 ! line width
         annotation1_cf = 1 ! character font (1=sans serif, 2=roman, 3=italic, 4=script)
         annotation1_side = 'T' ! T, B, L, or R
         annotation1_disp = 1.8 ! displacement perpendicular to axis
         annotation1_coord = 0.5 ! fractional location along axis
         annotation1_fjust = 0.5 ! 0 => left justified, 0.5 => centered, 1 => right justified
         annotation1_text = 'HD49385'
      
         ! axis limits
         TRho_Profile_xmin = -10
         TRho_Profile_xmax = 10
         TRho_Profile_ymin = 3.0
         TRho_Profile_ymax = 10
         
         ! file output
         !TRho_Profile_file_flag = .true.
         TRho_Profile_file_dir = 'png'
         TRho_Profile_file_prefix = 'trho_profile'
         TRho_Profile_file_cnt = 2 ! output when mod(model_number,TRho_Profile_file_cnt)==0
      
      
      ! loggTe window -- logg vs. Teff
      
         loggTe_win_flag = .false.
      
         loggTe_win_width = 7
         loggTe_win_aspect_ratio = 0.62 ! aspect_ratio = height/width         
         
         show_loggTe_cross_hair = .false.


         show_loggTe_target_box = .true.
         loggTe_target_n_sigma = -3
         loggTe_target_logg = 4.00d0
         loggTe_target_logg_sigma = 0.06d0
         loggTe_target_Teff = 6095d0
         loggTe_target_Teff_sigma = 65  
      
         ! axis limits -- to override system default selections
         loggTe_logg_min = 3.8 ! only used if > -100
         loggTe_logg_max = 4.4 ! only used if > -100
         loggTe_Teff_min = 5700 ! only used if > -100
         loggTe_Teff_max = 6500 ! only used if > -100
      
         loggTe_age_min = -1 ! only plot models with age >= this
         loggTe_step_min = -1 ! only plot models with model number >= this
         loggTe_step_max = 999999 ! only plot models with model number <= this

         show_loggTe_annotation1 = .false.
         show_loggTe_annotation2 = .false.
         show_loggTe_annotation3 = .false.
         
         ! file output
         loggTe_file_flag = .false.
         loggTe_file_dir = 'pgstar_out'
         loggTe_file_prefix = 'loggTe'
         loggTe_file_cnt = 5 ! output when mod(model_number,loggTe_file_cnt)==0
         loggTe_file_width = -1 ! negative means use same value as for window
         loggTe_file_aspect_ratio = -1 ! negative means use same value as for window
      
      
      ! Profile window
      
         Profile_win_flag = .false.

         Profile_win_width = 7.5
         Profile_win_aspect_ratio = 0.618 ! aspect_ratio = height/width
            
         show_Profile_legend = .false.
         Profile_legend_coord = 0.65
         Profile_legend_fjust = 0.0
         Profile_legend_disp1 = -7.5
         Profile_legend_del_disp = -1.5
         Profile_show_mass_locs = .false.
         Profile_show_decorated_line = .false.
         
         show_HR_TRho_with_Profile = .false.
         show_Profile_text_info = .false.
         Profile_text_info_xfac = 0.78 ! controls x location
         Profile_text_info_dxfac = 0.02 ! controls x spacing to value from text
         Profile_text_info_yfac = 0.95 ! controls y location of 1st line
         Profile_text_info_dyfac = -0.04 ! controls line spacing
         show_Profile_cross_hair = .false.

         show_Profile_annotation1 = .false.
         show_Profile_annotation2 = .false.
         show_Profile_annotation3 = .false.
         
         ! axis choices
            ! to get a list of axis identifiers, edit your star_job controls
               ! to set show_profile_column_numbers = .true.
            ! you can use any identifier for x or y
         Profile_xaxis_name = 'logxm'
         Profile_xaxis_reversed = .true.
         Profile_xmin = -12 ! only used if > -100
         !Profile_xmax = 1.2 !-101 ! only used if > -100
         
         Profile_yaxis_name = 'entropy' !'grada'
         Profile_yaxis_reversed = .false.
         Profile_ymin = -111 !5.4 ! only used if > -100
         Profile_ymax = -111 !8.6 ! only used if > -100    
         Profile_dymin = 0.025    
         
         Profile_other_yaxis_name = 'logL'
         Profile_other_yaxis_reversed = .false.
         Profile_other_ymin = -101 ! only used if > -100
         Profile_other_ymax = -101 ! only used if > -100        
         
         ! file output
         !Profile_file_flag = .true.
         Profile_file_dir = 'png'
         Profile_file_prefix = 'profile'
         Profile_file_cnt = 5 ! output when mod(model_number,Profile_file_cnt)==0
      
      
      ! Convection window -- history of convection and more.
      
         !CONV_win_flag = .true.
      
         CONV_win_width = 8
         CONV_win_aspect_ratio = 0.62 ! aspect_ratio = height/width
      
         ! axis limits
         CONV_xmax = -1 ! step number.  negative means use default.
         CONV_xmin = -1 ! step number.  negative means use default.
         CONV_max_width = 0 ! only used if > 0.  causes xmin to move with xmax.
         CONV_mmax = -1 ! (Msun units) negative means use start initial mass
         CONV_mmin = 0 ! (Msun units)
         CONV_lgLmax = -101 ! only used if > -100; (L in Lsun units)
         CONV_lgLmin = -2 ! only used if > -100; (L in Lsun units)

         CONV_show_burn = .true.
         CONV_show_mixing = .true.
         CONV_show_log_radius = .true.
         CONV_show_luminosities = .true.
         CONV_show_mass_boundaries = .true.

         show_CONV_annotation1 = .false.
         show_CONV_annotation2 = .false.
         show_CONV_annotation3 = .false.
         
         ! file output
         CONV_file_flag = .true.
         CONV_file_dir = 'png_extra'
         CONV_file_prefix = 'conv'
         CONV_file_cnt = 1 ! output when mod(model_number,CONV_file_cnt)==0
         CONV_file_width = -1 ! negative means use same value as for window
         CONV_file_aspect_ratio = -1 ! negative means use same value as for window
      
      
         
         
      ! Surface History window
      
         Surf_Hist_win_flag = .false.
      
         Surf_Hist_win_width = 6.5
         Surf_Hist_win_aspect_ratio = 1.2 ! aspect_ratio = height/width
      
         ! axis limits
         Surf_Hist_xmax = -1 ! step number.  negative means use default.
         Surf_Hist_xmin = -1 ! step number.  negative means use default.
         Surf_Hist_max_width = 0 ! only used if > 0.  causes xmin to move with xmax.
         
         ! abundance limits
         Surf_Hist_mass_frac_min = 0
         Surf_Hist_mass_frac_max = 1.1 ! > 0 helps legibility

         show_Surf_Hist_annotation1 = .false.
         show_Surf_Hist_annotation2 = .false.
         show_Surf_Hist_annotation3 = .false.
         
         ! file output
         Surf_Hist_file_flag = .false.
         Surf_Hist_file_dir = 'pgstar_out'
         Surf_Hist_file_prefix = 'conv'
         Surf_Hist_file_cnt = 5 ! output when mod(model_number,Surf_Hist_file_cnt)==0
         Surf_Hist_file_width = -1 ! negative means use same value as for window
         Surf_Hist_file_aspect_ratio = -1 ! negative means use same value as for window
      
         
         
      ! Power window
      
         Power_win_flag = .false.
      
         Power_win_width = 8.5
         Power_win_aspect_ratio = 0.618 ! aspect_ratio = height/width
      
         Power_xaxis_by = 'by_mass'
         
         ! power xaxis limits -- to override system default selections
         Power_xmin = -101 ! only used if > -100
         Power_xmax = -101 ! only used if > -100
         
         ! power yaxis limits -- to override system default selections
         Power_ymin = -101 ! only used if > -100
         Power_ymax = -101 ! only used if > -100

         show_Power_cross_hair = .false.
         
         ! file output
         Power_file_flag = .false.
         Power_file_dir = 'pgstar_out'
         Power_file_prefix = 'power'
         Power_file_cnt = 5 ! output when mod(model_number,Power_file_cnt)==0
         Power_file_width = -1 ! negative means use same value as for window
         Power_file_aspect_ratio = -1 ! negative means use same value as for window
         
         
      ! Abundance window
      
         Abundance_win_flag = .false.
      
         Abundance_win_width = 8.5
         Abundance_win_aspect_ratio = 0.618 ! aspect_ratio = height/width
      
         Abundance_xaxis_by = 'by_mass' ! select xaxis
         
         ! power xaxis limits -- to override system default selections
         Abundance_xmin = -101 ! only used if > -100
         Abundance_xmax = -101 ! only used if > -100
         
         ! power yaxis limits -- to override system default selections
         Abundance_log_mass_frac_min = 1 ! only used if < 0
         Abundance_log_mass_frac_max = 1 ! only used if < 0

         show_Abundance_cross_hair = .false.
         
         ! file output
         Abundance_file_flag = .false.
         Abundance_file_dir = 'pgstar_out'
         Abundance_file_prefix = 'abund'
         Abundance_file_cnt = 5 ! output when mod(model_number,Abundance_file_cnt)==0
         Abundance_file_width = -1 ! negative means use same value as for window
         Abundance_file_aspect_ratio = -1 ! negative means use same value as for window
         
         


/ ! end of pgstar namelist
