[Mesa-users] Error in modelling for pp chain( ierr from write_star_job)

Josiah Schwab jwschwab at ucsc.edu
Thu Jul 12 14:22:13 EDT 2018


Hi Piyush,

> I am having a bit of trouble in setting up grid plots.

Thanks for attaching your inlists.

> Infact, two problems:
> 1. The plots are overlapping on edges.

Make sure you understand the colspan and rowspan variables.  The plots
are overlapping because you have asked that they be placed on top of
each other.  For example,

  Grid1_plot_name(2) = 'Abundance'
  Grid1_plot_row(2) = 1 ! number from 1 at top
  Grid1_plot_rowspan(2) = 2 ! plot spans this number of rows
  Grid1_plot_col(2) =  1 ! number from 1 at left
  Grid1_plot_colspan(2) = 2 ! plot spans this number of columns


  Grid1_plot_name(1) = 'Summary_Burn'
  Grid1_plot_row(1) = 1 ! number from 1 at top
  Grid1_plot_rowspan(1) = 1 ! plot spans this number of rows
  Grid1_plot_col(1) =  2 ! number from 1 at left
  Grid1_plot_colspan(1) = 1 ! plot spans this number of columns

makes Abundance take up the upper left 2x2 of your 3x3 grid, while
placing Summary_Burn in a 1x1 at the top center.

Once you have resolved that, you may need to further adjust the padding
to get everything aligned just so.

> 2. Only partial “Text_summary” shows up in the grid plot, while when I
> plotted it separately, it is fine.( I made a 4*5 matrix, but only two
> rows appear) Is it due to padding issues( left-right-top-bottom)?

Your inlist_pgstar seems to have a strange mix of dos and unix line
endings.  I think that could be part of your problem, as it may be
leading some lines to be ignored. Check your text editor settings.

The same inlist_pgstar with uniform line endings and a tiny bit of
padding fiddling is attached.  All 4 rows show up.

> Do I need to change values repeatedly to get a required grid plot?

Yes, usually making a good looking grid plot requires some iterative
fiddling.  Since pgstar responds to changes in the controls while MESA
is running, I usually find this process goes pretty quickly.


Hope that helps,
Josiah

-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_pgstar
Type: application/octet-stream
Size: 10341 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20180712/97174216/attachment.obj>


More information about the Mesa-users mailing list