
&pgstar  
      
      Grid2_win_flag = .false. ! off for MESA2
      
      pgstar_grid_title_disp = 1.8

   Grid2_title = 'CCSN with Rayleigh-Taylor Instability'
      Grid2_win_width = 12
      Grid2_win_aspect_ratio = 0.6 ! aspect_ratio = height/width
         
      Grid2_num_cols = 7 ! divide plotting region into this many equal width cols
      Grid2_num_rows = 8 ! divide plotting region into this many equal height rows
      Grid2_num_plots = 5 ! <= 10

      Grid2_plot_name(1) = 'Profile_Panels1'
         Grid2_plot_row(1) = 1 ! number from 1 at top
         Grid2_plot_rowspan(1) = 6 ! plot spans this number of rows
         Grid2_plot_col(1) = 1 ! number from 1 at left
         Grid2_plot_colspan(1) = 2 ! plot spans this number of columns 
         Grid2_plot_pad_left(1) = -0.02 ! fraction of full window width for padding on left
         Grid2_plot_pad_right(1) = 0.07 ! fraction of full window width for padding on right
         Grid2_plot_pad_top(1) = 0.00 ! fraction of full window height for padding at top
         Grid2_plot_pad_bot(1) = 0.0 ! fraction of full window height for padding at bottom
         Grid2_txt_scale_factor(1) = 0.65 ! multiply txt_scale for subplot by this

      Grid2_plot_name(5) = 'Profile_Panels2'
         Grid2_plot_row(5) = 1 ! number from 1 at top
         Grid2_plot_rowspan(5) = 6 ! plot spans this number of rows
         Grid2_plot_col(5) = 3 ! number from 1 at left
         Grid2_plot_colspan(5) = 2 ! plot spans this number of columns 
         Grid2_plot_pad_left(5) = 0.06 ! fraction of full window width for padding on left
         Grid2_plot_pad_right(5) = -0.01 ! fraction of full window width for padding on right
         Grid2_plot_pad_top(5) = 0.0 ! fraction of full window height for padding at top
         Grid2_plot_pad_bot(5) = 0.0 ! fraction of full window height for padding at bottom
         Grid2_txt_scale_factor(5) = 0.65 ! multiply txt_scale for subplot by this
         
      Grid2_plot_name(2) = 'Text_Summary1'
         Grid2_plot_row(2) = 7 ! number from 1 at top
         Grid2_plot_rowspan(2) = 2 ! plot spans this number of rows
         Grid2_plot_col(2) = 1 ! number from 1 at left
         Grid2_plot_colspan(2) = 4 ! plot spans this number of columns 
         Grid2_plot_pad_left(2) = -0.08 ! fraction of full window width for padding on left
         Grid2_plot_pad_right(2) = -0.12 ! fraction of full window width for padding on right
         Grid2_plot_pad_top(2) = 0.08 ! fraction of full window height for padding at top
         Grid2_plot_pad_bot(2) = -0.04 ! fraction of full window height for padding at bottom
         Grid2_txt_scale_factor(2) = 0.19 ! multiply txt_scale for subplot by this
         
      Grid2_plot_name(3) = 'Abundance'         
         Grid2_plot_row(3) = 1 ! number from 1 at top
         Grid2_plot_rowspan(3) = 4 ! plot spans this number of rows
         Grid2_plot_col(3) = 5 ! plot spans this number of columns 
         Grid2_plot_colspan(3) = 3 ! plot spans this number of columns          
         Grid2_plot_pad_left(3) = 0.14 ! fraction of full window width for padding on left
         Grid2_plot_pad_right(3) = 0.00 ! fraction of full window width for padding on right
         Grid2_plot_pad_top(3) = 0.0 ! fraction of full window height for padding at top
         Grid2_plot_pad_bot(3) = 0.09 ! fraction of full window height for padding at bottom
         Grid2_txt_scale_factor(3) = 0.65 ! multiply txt_scale for subplot by this
         
      Grid2_plot_name(4) = 'Mixing'        
         Grid2_plot_row(4) = 5 ! number from 1 at top
         Grid2_plot_rowspan(4) = 4 ! plot spans this number of rows
         Grid2_plot_col(4) = 5 ! number from 1 at left
         Grid2_plot_colspan(4) = 3 ! plot spans this number of columns          
         Grid2_plot_pad_left(4) = 0.14 ! fraction of full window width for padding on left
         Grid2_plot_pad_right(4) = 0.00 ! fraction of full window width for padding on right
         Grid2_plot_pad_top(4) = 0.06 ! fraction of full window height for padding at top
         Grid2_plot_pad_bot(4) = 0.03 ! fraction of full window height for padding at bottom
         Grid2_txt_scale_factor(4) = 0.65 ! multiply txt_scale for subplot by this

         Mixing_ymax = 22d0
         Mixing_ymin = 8d0

Profile_Panels1_title = ''
Profile_Panels1_xaxis_name = 'mass'
Profile_Panels1_xaxis_reversed = .false.

Profile_Panels1_num_panels = 2
Profile_Panels1_yaxis_name(1) = 'logRho'
Profile_Panels1_ymin(1) = -101
Profile_Panels1_other_yaxis_name(1) = 'logP'
Profile_Panels1_other_ymin(1) = -101

Profile_Panels1_yaxis_name(2) = 'log_alpha_RTI'
Profile_Panels1_ymax(2) = 0.3
Profile_Panels1_ymin(2) = -10
Profile_Panels1_other_yaxis_name(2) = 'log_source_RTI'
Profile_Panels1_other_ymax(2) = 0
Profile_Panels1_other_ymin(2) = -12
              
         
Profile_Panels2_title = ''
Profile_Panels2_xaxis_name = 'mass'
Profile_Panels2_xaxis_reversed = .false.

Profile_Panels2_num_panels = 2
Profile_Panels2_yaxis_name(1) = 'logT'
Profile_Panels2_ymin(1) = -101
Profile_Panels2_other_yaxis_name(1) = 'vel_km_per_s'
Profile_Panels2_other_ymin(1) = -101

Profile_Panels2_yaxis_name(2) = 'logE'
Profile_Panels2_ymin(2) = -101
Profile_Panels2_other_yaxis_name(2) = 'log_dr_div_cs'
Profile_Panels2_other_ymin(2) = -101


         Text_Summary1_txt_scale = 5.5
         Text_Summary1_num_rows = 5 ! <= 20
         Text_Summary1_num_cols = 3 ! <= 20
         Text_Summary1_name(:,:) = ''

         Text_Summary1_name(1,1) = 'model_number'
         Text_Summary1_name(2,1) = 'star_age_sec'
         Text_Summary1_name(3,1) = 'time_step_sec'
         Text_Summary1_name(4,1) = 'log_rel_run_E_err'
         Text_Summary1_name(5,1) = 'total_energy'

         Text_Summary1_name(1,2) = 'envelope_mass'
         Text_Summary1_name(2,2) = 'he_core_mass'
         Text_Summary1_name(3,2) = 'm_center'
         Text_Summary1_name(4,2) = 'shock_radius'
         Text_Summary1_name(5,2) = 'shock_mass'

         Text_Summary1_name(1,3) = 'num_zones'
         Text_Summary1_name(2,3) = 'num_iters'
         Text_Summary1_name(3,3) = 'num_retries'
         Text_Summary1_name(4,3) = 'num_backups'
         Text_Summary1_name(5,3) = ''




! file output
Grid2_file_flag = .true.
   Grid2_file_dir = 'png'
   Grid2_file_prefix = 'test_'
   Grid2_file_interval = 10 ! 1 ! output when mod(model_number,Grid2_file_interval)==0
   Grid2_file_width = -1 ! negative means use same value as for window
   Grid2_file_aspect_ratio = -1 ! negative means use same value as for window

/ ! end of pgstar namelist
