[Mesa-users] using Adipls command <do_redistribute_mesh> for my own Oscillation code
Earl Bellinger
earlbellinger at gmail.com
Wed Mar 23 10:50:59 UTC 2022
Dear Gerrit and Rob,
I think Gerrit is referring to the mesh redistribution done by ADIPLS and
GYRE, rather than the mesh set by MESA.
The flag do_redistribute_mesh enables the following code in
astero/private/adipls_support.f90:
https://github.com/MESAHub/mesa/blob/8fe495395007c047cec2cf7c67faa4bf25eb00bb/astero/private/adipls_support.f90#L477
I am guessing you can reuse some of that code, but there is probably no
standard way to do it as yet. Does that help?
Note that ADIPLS and GYRE remesh in different ways.
You can also run the ADIPLS mesh redistribution in a standalone way. See
for example this script:
https://github.com/MESAHub/mesa/blob/8fe495395007c047cec2cf7c67faa4bf25eb00bb/adipls/adipack.c/bin/redistrb.c.d
Best wishes,
Earl
On Tue, Mar 22, 2022 at 4:51 PM Gerrit Jan Savonije via Mesa-users <
mesa-users at lists.mesastar.org> wrote:
> Hi,
>
> Is there a possibility to use the remesh procedure as used in ADIPLS
> and GYRE for my own version of pulse_osc.f90 in the newest MESA version?
>
> How and where can the new mesh requirements be defined?
>
> Hope to hear from the community,
>
>
> Thanks,
>
> Gertjan Savonije
>
> Astronomical Institute,
>
> University of Amsterdam
>
>
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20220323/dfe8903b/attachment.htm>
More information about the Mesa-users
mailing list