Skip to content

Conversation

@jmcclena
Copy link
Contributor

@jmcclena jmcclena commented Sep 9, 2025

Add a new function to calculate diffusivities for desired profiles.

diffusivities add calculation of to transport.jl
@jmcclena jmcclena requested review from bclyons12 and orso82 and removed request for orso82 September 9, 2025 16:33
changes for flux matching gradients

# Interpolate rotation shear to the integration range
dw_dr = IMAS.interp1d(transport_indices, rotation_shear_transport_grid).(1:index_last)
gradient = IMAS.interp1d(transport_indices, gradient_transport_grid).(1:index_last)
Copy link
Contributor

Choose a reason for hiding this comment

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

@jmcclena not a huge thing, but I rather avoid the name gradient since it can be confused with the IMAS.gradient() function

@bclyons12
Copy link
Member

@jmcclena Any update on this?

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.

4 participants