Skip to content

Conversation

@theo-brown
Copy link
Collaborator

@theo-brown theo-brown commented Dec 9, 2025

Fixes #1830

Before, without V_e clamped to 0 in neoclassical - causes sim crash due to unphysical density peaking.
image

Before, with V_e clamped to 0 in neoclassical - note on-axis peak in chi_e (only has a cosmetic effect)
image

After
image

@theo-brown theo-brown requested a review from jcitrin December 9, 2025 17:21
@theo-brown theo-brown added bug Something isn't working ready for review Add to PRs when they are ready for review unsure of who to assign as reviewer labels Dec 9, 2025
Copy link
Collaborator

@jcitrin jcitrin left a comment

Choose a reason for hiding this comment

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

For consistency in pattern, should do this bulk+axis extrapolation for all the Neoclassical transport outputs.

And then would need to fix the tests (I guess the issue is the unit test + relevant sim_tests that used this)

@theo-brown theo-brown force-pushed the extrapolate-neoclassical-axis-values branch from f55e941 to 991d1fc Compare December 9, 2025 18:10
@jcitrin jcitrin added the copybara:import-manual Set when ready for copybara manual import label Dec 10, 2025
@jcitrin
Copy link
Collaborator

jcitrin commented Dec 10, 2025

@theo-brown could you please sync this one to main? There will be some merge conflicts due to changes done on top of the Shaing PR following internal review. Thanks! Then we'll bring it in too.

@theo-brown theo-brown force-pushed the extrapolate-neoclassical-axis-values branch from 991d1fc to 426c9ad Compare December 10, 2025 15:54
@theo-brown theo-brown changed the base branch from shaing-neoclassical to main December 10, 2025 15:56
@theo-brown theo-brown requested a review from jcitrin December 30, 2025 12:54
@copybara-service copybara-service bot merged commit 1ad5a22 into main Jan 2, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working copybara:import-manual Set when ready for copybara manual import ready for review Add to PRs when they are ready for review unsure of who to assign as reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extrapolate neoclassical transport values on axis to avoid hitting limits

2 participants