bmad-sim / AcceleratorLattice.jl

High energy accelerator lattice construction and manipulation
GNU Lesser General Public License v2.1
2 stars 0 forks source link

Bookkeeping changes #128

Open DavidSagan opened 1 day ago

DavidSagan commented 1 day ago

Thoughts:

Enable Auto bookkeeping which is triggered when an element parameter is accessed.
For a lattice, record min/max element that has changed.

mattsignorelli commented 23 hours ago

The bookkeeper should add to some central data structure during write (marking things as "dirty"), and then execute during the next read. This should be the default and optionally this could be disabled .