[Mesa-users] a mesh point removal
Farag, Ebraheem
ebraheem.farag at yale.edu
Wed Jun 25 04:00:07 UTC 2025
Hello Natasha,
Yes, you can call "remove_surface_at_cell_k". This is a starjob option. Alternatively, see $MESA_DIR/star/public/star_lib.f90: "subroutine star_remove_surface_at_cell_k". You can call this subroutine in your run_star_extras on the fly to remove a surface cell. Call it with k = 2.
-EbF
________________________________
From: Mesa-users <mesa-users-bounces at lists.mesastar.org> on behalf of Natasha Ivanova via Mesa-users <mesa-users at lists.mesastar.org>
Sent: Tuesday, June 24, 2025 11:29 PM
To: mesa-users <mesa-users at lists.mesastar.org>
Subject: [Mesa-users] a mesh point removal
Hi all,
Is there a subroutine in MESA that can be called to remove a specific mesh point, along with all associated quantities? Specifically, I’m interested in fully removing the outermost surface mesh point. While I know how to manually update q, dq, m, and dm, xmstar etc (everything related to their values updated) it would be helpful if there is a built-in subroutine that handles a one-index shift for all relevant variables consistently (life would be so much easier if the counting would have started from the center).
I deal with mesa 23.05.1, or 24 versions.
Thanks,
Natasha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20250625/1afbf35e/attachment.htm>
More information about the Mesa-users
mailing list