You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New
Tracing to the wall from a VMEC field (#159): Tracing(..., exterior_field=..., wall=...) takes the wall as a gap in metres (the LCFS grown that far, SurfaceRZFourier.from_vmec(vmec, offset=gap)) or as a surface, besides a classifier or callable. The wall's signed-distance grid scales with its major radius. README section with a figure.
InterpolatedField.around(field, surface, margin, n) tabulates a field on the R, Z box of a surface such as the wall (#159).
Vmec(wout) accepts an in-memory wout object with the wout variable names (e.g. a VMEX WoutData): no file is written and gradients flow (#159).
InterpolatedField and Tracing(exterior_field=...) wrap a batched xyz -> B source (e.g. a VMEX VmecExtender or MgridField) in ExternalField (#159).
Fixes
ExternalField.to_xyz is the identity, so an ExternalField can be traced or tabulated directly (#159).
Guiding-centre Tracing.energy() and v_perp() take mu from the trajectories' first sample, so orbits split over several devices no longer fail with incompatible shardings (#159).