Skip to content

Add n_e_right_bc to EdgeModelOutputs and implement _update_density. - #2498

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_983998350
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_983998350

Conversation

@copybara-service

Copy link
Copy Markdown

Add n_e_right_bc to EdgeModelOutputs and implement _update_density.

Complete the base core boundary condition interface by adding electron density (n_e_right_bc) to EdgeModelOutputs.
In ExtendedLengyelOutputs, default n_e_right_bc to jnp.nan as Lengyel does not predict core density.
Implement _update_density in torax/_src/edge/updaters.py to update runtime_params.profile_conditions.n_e_right_bc, and add unit test coverage in edge_updaters_test.py.

Complete the base core boundary condition interface by adding electron density (n_e_right_bc) to EdgeModelOutputs.
In ExtendedLengyelOutputs, default n_e_right_bc to jnp.nan as Lengyel does not predict core density.
Implement _update_density in torax/_src/edge/updaters.py to update runtime_params.profile_conditions.n_e_right_bc, and add unit test coverage in edge_updaters_test.py.

PiperOrigin-RevId: 983998350
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant