! inlist_evolve

&star_job


      show_log_description_at_start = .false.

      load_saved_model = .true.
      saved_model_name = "planet_relaxm_temp.mod"

      save_model_when_terminate = .true.
      save_model_filename = "planet_irrad.mod"
      
      write_profile_when_terminate = .true.
      filename_for_profile_when_terminate = 'final_profile.data'
      
      !set_initial_age = .true.
      !initial_age = 1d6 ! in years

      set_initial_dt = .true.
      years_for_initial_dt = 1.d-6 ! in years

      relax_initial_irradiation = .true.
         ! this is flux from companion
         ! we capture Pi*R^2 of that flux
         ! and distribute it uniformly in the outer 4*Pi*R^2*col_depth grams of the star.
      relax_irradiation_min_steps = 100
      relax_irradiation_max_yrs_dt = 1d-1
      steps_to_take_before_terminate = 100
      relax_to_this_irrad_flux = 3.5d8 !  erg s^-1 cm^-2
      irrad_col_depth =  300.0  !  g cm^-2
      set_tau_factor = .true. ! change tau_factor without reconverging.
      set_to_this_tau_factor = 100 ! THIS IS TO MAKE FIRST GRID POINT DEEPER

      eos_file_prefix = 'mesa'
      kappa_file_prefix = 'gs98'
      kappa_lowT_prefix = 'lowT_Freedman11'

      change_lnPgas_flag = .true.
      new_lnPgas_flag = .true.
      
      pgstar_flag = .true.


/ !end of star_job

&controls

	! surface heating
	!column_depth_for_irradiation = 300.0 ! 3.d2 cm^2/g
        !irradiation_flux = 3471885341.01  ! 1.d9 erg/cm^2/s ! day side flux!!! Bill puts in 1/4 by hand

	! interior heating
	!inject_uniform_extra_heat = 0.0
      
      mixing_length_alpha = 1.89d0 ! based on solar model

      MLT_option = 'Henyey'

      photostep = 100
      profile_interval = 100
      terminal_cnt = 20
      write_header_frequency = 10
      
      max_age = 1.d5
      T_mix_limit = 0
      
      use_Type2_opacities = .false.




/


&pgstar
         
      ! top level controls

         !pause = .true. 
            ! if true, the code waits for user to enter a RETURN on the command line
      
	TRho_Profile_win_flag = .true.
	Summary_Profile_win_flag = .true
	History_Track1_win_flag = .true.

	History_Track1_xname = 'log_star_age'
	History_Track1_yname = 'radius'
	History_Track1_xaxis_label = 'log age'
	History_Track1_yaxis_label = 'radius (Rsun)'
	History_Track1_title = 'R vs time'
        History_Track1_reverse_xaxis = .false.
	History_Track1_xmin = 0
	History_Track1_xmax = 10

        History_Track1_file_flag = .true.
        !History_Track1_file_dir = 'png'
        History_Track1_file_prefix = 'logRvlogage_evolvetemp_'
	History_Track1_file_cnt = 50 ! output when mod(model_number,TRho_Profile_file_cnt)==0



/ ! end of pgstar namelist
