Get PyOpal + OPAL-T working
Job list:
- Install OPAL, with PyOPAL switched on, and check that the tests pass.
- Take a test like
tests/opal_src/PyOpal/PyObjects/test_parser.py
and check that the parser can parse an "old-style" OPAL-T lattice. I think this should just work without any edits. - Take an example like
tests/opal_src/PyOpal/PyObjects/test_field.py
and adapt for OPAL-T. You will likely need to editsrc/PyOpal/PyObjects/PyField.cpp
to handle the case where tracker inherits from ParallelTTracker. - Take an example like
tests/opal_src/PyOpal/PyObjects/test_track_run.py
and adapt for a minimal OPAL-T example. Note that test_track_run employs the pre-built Opal "Minimal" latticesrc/PyOpal/PyPython/minimal_runner.py
Would be great if in all these cases you could add in the unit tests so that we know if the code breaks in the future.
Edited by ext-rogers_c