Field Map Reflections / Flips for All Formats

Issue #310 resolved
Laurie Nevay created an issue

Currently we have very specific field map reflections for a quadrant of a dipole and quadrupole for poisson field maps, whereas we can’t apply this to a BDSIM-format field map. This should be applicable to all field map formats. Indeed, it is just a wrapper class of the original array-coords class. Care should be taken if possible to avoid if elses in the implementation for optimal performance. There are a variety of possible flips and reflections we can do. The parameters would be available by names (a ‘type’) and applied in the field factory if required and specified in the field definition in the input gmad.

This has been started in a branch field-reflection.

Comments (2)

  1. Log in to comment