Skip to content

src: refactor updatesection!(psh::PoincareShooting - #336

Merged
rveltz merged 7 commits into
masterfrom
334-problems-when-updating-sections-for-poincare-shooting
Jul 19, 2026
Merged

src: refactor updatesection!(psh::PoincareShooting#336
rveltz merged 7 commits into
masterfrom
334-problems-when-updating-sections-for-poincare-shooting

Conversation

@rveltz

@rveltz rveltz commented Jul 8, 2026

Copy link
Copy Markdown
Member

No description provided.

@rveltz rveltz linked an issue Jul 8, 2026 that may be closed by this pull request
@RalphAS

RalphAS commented Jul 9, 2026

Copy link
Copy Markdown

It might be a good idea to store the full vector (x instead of xbar) in the ContState. Then one would always have a valid state, and one could reconstruct an appropriate section later if needed for branch switching, normal forms, etc.

rveltz added 6 commits July 14, 2026 07:37
- Introduce POSavedSolutionAndState_PSH / BVPSavedSolutionAndState_PSH
  structs to save full solution state (reduced coords + full space +
  section normals/centers)
- Add save_solution for PeriodicOrbitFunctionalSh{<:PoincareShooting}
- Add update! for PoincareShooting that re-projects the solution
  after section update and recomputes the predictor
- Add restore_problem! for PoincareShooting to restore section state
- Replace update!(prob, x) calls with restore_problem!(prob, x, pars)
  in NormalForms.jl
- Fix test files to use saved_solution() to extract vectors
@rveltz
rveltz merged commit f19b476 into master Jul 19, 2026
2 of 4 checks passed
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.

Problems when updating sections for Poincare shooting

2 participants