Skip to content

add optional flag to disable mlt_fallback in TDC adjust_mass#988

Merged
Debraheem merged 2 commits into
mainfrom
EbF/TDC_adjust_mass_fallback
May 13, 2026
Merged

add optional flag to disable mlt_fallback in TDC adjust_mass#988
Debraheem merged 2 commits into
mainfrom
EbF/TDC_adjust_mass_fallback

Conversation

@Debraheem

Copy link
Copy Markdown
Member

This pr introduces a dev control which affects TDC. It allows zones touched by adjust mass to use TDC inste. I think this can be more consistent the falling back to mlt, and this control is needed to evolve TDC pulsation models with mass loss as well.

In my testing, pulsation models with mass loss generate noisy features and convection in the surface layers touched by adjust_mass, because of the mlt fallback. Not falling back fixes this issue.

@Debraheem Debraheem added the tdc label May 4, 2026
@VincentVanlaer

Copy link
Copy Markdown
Member

Is there a situation to prefer the old behaviour?

@Debraheem

Copy link
Copy Markdown
Member Author

I don't know, but for now I think an optional control we can test is a good solution.

@VincentVanlaer VincentVanlaer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to merge once the comment is updated!

Comment thread star/private/turb_support.f90
Expanded comments to clarify the fallback mechanism for TDC and MLT.
@Debraheem Debraheem merged commit 317d9d7 into main May 13, 2026
@VincentVanlaer VincentVanlaer deleted the EbF/TDC_adjust_mass_fallback branch May 15, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants