[Mesa-users] (no subject)

Pablo Marchant pamarca at gmail.com
Sun Jun 28 05:56:42 EDT 2020


Hi Ebrahim,

can't assess in detail your issue if you do not provide adequate
information to reproduce your problem. Please note the section "Post a
question to mesa-users" on the webpage to see what information needs to be
provided for others to assist you.

As the error message indicates, you are trying to access an index of the
array beyond its size. You should verify that you do not access anything
beyond s% r(s% nz), which specifies the number of grid points in the mesh.
Note that the array might have elements beyond s% nz, this is solely
because the arrays are allocated with extra space such that each remeshing
action that increases the number of grid points does not need another
allocation. But anything beyond s% nz should not be used. Beware that you
running into this error might be an indication that you are not accessing
the physical point you want in your star, but again, absent proper
information we cannot assess if this is the case.

Cheers

On Sun, Jun 28, 2020 at 10:36 AM Ebrahim Hassani via Mesa-users <
mesa-users at lists.mesastar.org> wrote:

> Dear Mesa-users
>
> I edited "run_star_extras.f" file and used "s%r" parameter in my work.
> Everything is right and my code (for one solar mass star) works correctly.
> But after about 1650 steps I encountered with the below error:
>
> At line 327 of file ../src/run_star_extras.f
> Fortran runtime error: Index '1524' of dimension 1 of array 's%r' above
> upper bound of 1523
>
> If I want to evolve the star more than 1650 steps what I must to?
> Does the error has physical interpretation?
>
> Best Regards
>
> Ebrahim Hassani
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
>

-- 
Pablo Marchant Campos
M.Sc on Astrophysics, Universidad Católica de Chile
PhD on Astrophysics, Argelander-Institut für Astronomie, Universität Bonn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200628/a53b8f1f/attachment.htm>


More information about the Mesa-users mailing list