src issueshttps://gitlab.psi.ch/OPAL/src/-/issues2018-04-26T15:35:40+02:00https://gitlab.psi.ch/OPAL/src/-/issues/157Cyclotron trim coil has discontinuous derivative2018-04-26T15:35:40+02:00snuverink_jjochem.snuverink@psi.chCyclotron trim coil has discontinuous derivativefollow up from issue #110 as discussed there.
![image](/uploads/b10d3189af1733a1fefaecdff531d423/image.png)
As can be seen in the figure the derivative of the B field is discontinuous in the middle of the trim coil. This comes by [cons...follow up from issue #110 as discussed there.
![image](/uploads/b10d3189af1733a1fefaecdff531d423/image.png)
As can be seen in the figure the derivative of the B field is discontinuous in the middle of the trim coil. This comes by [construction of the calculation](https://gitlab.psi.ch/OPAL/src/blob/9118749a7c5ffa2657ff9d11393f3b839171e2b2/src/Classic/AbsBeamline/Cyclotron.cpp#L118).
I think it would be good to:
* find out where the calculation comes from (see also comment https://gitlab.psi.ch/OPAL/src/issues/110#note_2391)
* get some measured trim coil profiles to see how important the effect could be.
Task list added 26 March (from https://gitlab.psi.ch/OPAL/src/issues/157#note_5500):
* [x] PSI-trim coils polynomial fit (with minimal order) (@frey_m)
* [x] OPAL trim coil polynomial input (@snuverink_j)
* [x] Comparison with current implementation for TC15, make polynomial input default (@frey_m, @snuverink_j)
* [x] Documentation
* [x] Regression/Unit testOPAL 2.0.0frey_msnuverink_jjochem.snuverink@psi.chfrey_mhttps://gitlab.psi.ch/OPAL/src/-/issues/227Tasks for Opal Developer Retreat 2021 work list2022-01-17T09:25:11+01:00krausTasks for Opal Developer Retreat 2021 work listStart adapting the Erice working list for the new retreat in [Berlin (2019)](https://gitlab.psi.ch/OPAL/src/wikis/opal-developer-&-user-retreat/berlin-2019).
Start adapting the Berlin working list for the new retreat in [SLAC (2020)](ht...Start adapting the Erice working list for the new retreat in [Berlin (2019)](https://gitlab.psi.ch/OPAL/src/wikis/opal-developer-&-user-retreat/berlin-2019).
Start adapting the Berlin working list for the new retreat in [SLAC (2020)](https://gitlab.psi.ch/OPAL/src/wikis/opal-developer-&-user-retreat/slac-2020).
Start adapting the Slac working list for the new retreat in [WWW (2021)](https://gitlab.psi.ch/OPAL/src/-/wikis/opal-developer-retreat/Opal-Developer-Retreate,-WWW-2021).
**General**
- [ ] **pyOPAL (#516, #624)**
- [ ] **IPPL V 2.0 integration**
- [ ] OPAL Paper
- [x] Manual
- [x] Finish #46
- [ ] Finish #45 (and #357)
- [ ] Minimum number of particles for statistic (*.stat file) write
- [ ] Minimum number of particles for statistic H5
- [x] Unify usage of Quaternion
- [ ] Reference particle(s) class, for both flavours #287
- [ ] Many unit conversions (m,T) (#690, #704)
- [ ] Clean and collect existing examples in one location
**OPAL-cycl**
- [x] Refactoring OPAL-cycl, remove duplicated/not used code (#124, #666, !462)
- [x] Double check multibunch tracking in OPAL-cycl
- [ ] Unify units OPAL-t / OPAL-cycl (#242) , check also #80 ?
- [ ] Has special files do we want to keep them or add the information into the h5 file?
- [ ] Cleanup cyclotron units:
- [ ] internal x,y,z
- [ ] external use x,z,y later this can be set by a switch
- [x] delete trackers
- [ ] Timedependent E (B) a la Ring
- [x] Fieldsolver sanity check
**OPAL-T**
- [ ] Make energy bins dynamic where the number of energy bins and the number of particles per bin can vary (#270)
- [ ] ~~Test~~ Implement adaptive time integration
**SAAMG solver**
- [ ] Fix one issue with defining reference point in geometry for SAAMG solver
- [ ] Make SAAMG solver parallel again
- [x] Use new TRILINOS packages (#507)
**Testing framework**
- [x] Regression tests, with/without GPU
- [x] Unit tests (regression-tests#53)
- [ ] Jenkins/Continous Integration etc
**Distribution class**
- [ ] Split into code for the parser and implementation (#629)
- [ ] Use separate classes for the different types (#629)
- [ ] Rethinking / refactoring algorithms
**Additional tasks**
- [x] ~~Enable~~ Remove OPAL-Slice (!343)
- [x] Enable OPAL-Map (!42)
- [x] Merge beam stripping physics (forked) (!183)
- [x] Enable the work of Pedro and add documentation (https://gitlab.psi.ch/OPAL/Manual-2.1/merge_requests/20)https://gitlab.psi.ch/OPAL/src/-/issues/459review FlexibleCollimator::isStopped() method in Classic2020-07-06T13:49:42+02:00gsellreview FlexibleCollimator::isStopped() method in Classic@kraus "The question is, where we should check whether a particle hits material at the center or at the end of a time step (ideally everywhere but too time consuming). It used to be at the end (before I implemented the configurable colli...@kraus "The question is, where we should check whether a particle hits material at the center or at the end of a time step (ideally everywhere but too time consuming). It used to be at the end (before I implemented the configurable collimator) and I changed it to the middle. The extra argument could probably be removed."
See discussion on MR !269 OPAL 2.4.0gsellgsellhttps://gitlab.psi.ch/OPAL/src/-/issues/535OPAL-FEL (MITHRA integration)2020-12-01T15:09:02+01:00albajacas_aarnau.albajacas@psi.chOPAL-FEL (MITHRA integration)### Summary
As part of my Master Thesis I am introducing an undulator/wiggler element in OPAL-t.
For this reason I have integrated the full-wave solver for undulators [MITHRA](https://github.com/aryafallahi/mithra).
This full-wave solv...### Summary
As part of my Master Thesis I am introducing an undulator/wiggler element in OPAL-t.
For this reason I have integrated the full-wave solver for undulators [MITHRA](https://github.com/aryafallahi/mithra).
This full-wave solver takes over when the bunch enters the undulator.
* [x] Add to [release notes](https://gitlab.psi.ch/OPAL/src/wikis/ReleaseNotes/ReleaseNotes)
* [x] Verify [coding style](https://gitlab.psi.ch/OPAL/src/wikis/For-Developers/CodingStyle)
* [x] Update documentation (OPAL/documentation/manual#38)
* [x] Add Regression Tests (OPAL/regression-tests#96)
* [x] Add module and flags to `NighltyBuild` (OPAL/regression-tests#99)
* [x] Resolve MR and all its issues (!361)OPAL 2021.1albajacas_aarnau.albajacas@psi.chalbajacas_aarnau.albajacas@psi.chhttps://gitlab.psi.ch/OPAL/src/-/issues/669New MITHRA module for Undulator2023-11-30T15:49:46+01:00albajacas_aarnau.albajacas@psi.chNew MITHRA module for UndulatorWhile fixing the Undulator regression tests (#658) we found some bugs in [MITHRA](https://github.com/aryafallahi/mithra).
I have opened issues and MRs in the Mithra repo to fix this, and once this is fixed we should make a new MITHRA mo...While fixing the Undulator regression tests (#658) we found some bugs in [MITHRA](https://github.com/aryafallahi/mithra).
I have opened issues and MRs in the Mithra repo to fix this, and once this is fixed we should make a new MITHRA module for Merlin.
- [ ] Resolve issues and MRs in the Mithra repository
- [ ] Test Mithra's master branch with OPAL and implement necessary changes in `Undulator.cpp`
- [ ] Ask Arya (Mithra developer) to make new release MITHRA-2.1
- [ ] Achim compiles module on Merlinalbajacas_aarnau.albajacas@psi.chalbajacas_aarnau.albajacas@psi.ch