bmad-sim / NonlinearNormalForm.jl

Nonlinear normal form analysis using truncated power series
https://bmad-sim.github.io/NonlinearNormalForm.jl/
GNU General Public License v3.0
1 stars 0 forks source link

add single `state` field to Lie operators and Taylor maps #41

Open mattsignorelli opened 1 day ago

mattsignorelli commented 1 day ago

This will contain all information about the map, e.g. idpt, FD, etc.

mattsignorelli commented 1 day ago

One thing to add to state may be whether or not the map is in phasor's basis where the poisson bracket definition is different

mattsignorelli commented 1 day ago

actually, because one will almost always have separate maps for each particular , it makes sense to instead put as much information into the type itself as possible. Therefore I will instead remove idpt and put it int the type alone, and mybe add a new field in_phasors::Bool