Skip to content

Refine deterministic VMEC events - #55

Draft
rogeriojorge wants to merge 1 commit into
rj/event-based-vmec-lossesfrom
rj/refine-vmec-events
Draft

Refine deterministic VMEC events#55
rogeriojorge wants to merge 1 commit into
rj/event-based-vmec-lossesfrom
rj/refine-vmec-events

Conversation

@rogeriojorge

Copy link
Copy Markdown
Member

Refines magnetic-axis and LCFS event times for deterministic VMEC guiding-center traces. Fixed and adaptive ODE models use one continuous radial event with Newton interpolation. Collision models keep step-end event detection.

Initial markers outside the radial interval now raise an input error. The QP trace kept 8 axis hits and 90 boundary hits; termination states were within 8e-16 of their radial surface.

Cold tracing time was 6.12 s, compared with 5.53 s on the parent branch. Peak resident memory was 772 MB, compared with 758 MB.

Depends on #54. No test files changed.

@eduardolneto eduardolneto left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes seem good for me.

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.

2 participants