src issueshttps://gitlab.psi.ch/OPAL/src/-/issues2020-07-23T20:54:11+02:00https://gitlab.psi.ch/OPAL/src/-/issues/579Add option to Source element to make it transparent to backtracking particles.2020-07-23T20:54:11+02:00krausAdd option to Source element to make it transparent to backtracking particles.Add option TRANSPARENT which regulates whether backtracking particles are stopped.Add option TRANSPARENT which regulates whether backtracking particles are stopped.OPAL 2.4.0krauskraushttps://gitlab.psi.ch/OPAL/src/-/issues/578Place elements relative to origin and orientation of beamline2020-07-24T12:51:42+02:00krausPlace elements relative to origin and orientation of beamlineUntil now, elements that are positioned with X, Y, Z instead of ELEMEDGE were positioned absolutely in the laboratory coordinate system. It would be much more practical if these elements were placed relative to the beamline.
As far as I...Until now, elements that are positioned with X, Y, Z instead of ELEMEDGE were positioned absolutely in the laboratory coordinate system. It would be much more practical if these elements were placed relative to the beamline.
As far as I know positioning with X, Y, Z isn't used by anyone yet.OPAL 2.4.0krauskraushttps://gitlab.psi.ch/OPAL/src/-/issues/470New multiGauss distribution2020-02-20T10:32:48+01:00albajacas_aarnau.albajacas@psi.chNew multiGauss distribution### Summary
In the cathode at the Argonne Wakefield Accelerator they have the ability to produce microbunched electron bunches, thanks to a laser beam which has a train of Gaussian pulses.
[Temporal Laser Pulse Shaping for RF Photocatho...### Summary
In the cathode at the Argonne Wakefield Accelerator they have the ability to produce microbunched electron bunches, thanks to a laser beam which has a train of Gaussian pulses.
[Temporal Laser Pulse Shaping for RF Photocathode Guns](https://aip.scitation.org/doi/10.1063/1.3080991)
At the moment there is no OPAL distribution to reproduce this.
Here is an example with 4 Gaussian microbunches separated (peak-to-peak) by 1.26 mm:
```
Dist: DISTRIBUTION, TYPE = MULTIGAUSS,
SIGMAPX = 1e-2, SIGMAPY = 1e-2, SIGMAPZ = 1e-2, // In units of betaGamma
CUTOFFPX = 4.0, CUTOFFPY = 4.0, CUTOFFPZ = 4.0, // In units of SIGMAP
SIGMAR = 340e-6,
SIGMAZ = .9e-3 / 2.355, // FWHM = 2.355 * sigma
CUTOFFLONG = 4.0, // In units of SIGZ
SEPPEAKS = 1.26e-3,
NPEAKS = 4,
EMITTED = FALSE;
```
This is what it looks like:
![distroInject](/uploads/65acbe6003cd1c8336272d98e3ddc5a8/distroInject.png)
In the case where the bunch is emitted, SIGMAPX/Y/Z and CUTOFFPX/Y/Z are omitted, and SIGMAZ and SEPPEAKS are to be given in seconds.OPAL 2.4.0albajacas_aarnau.albajacas@psi.chalbajacas_aarnau.albajacas@psi.chhttps://gitlab.psi.ch/OPAL/src/-/issues/239Remove requirement of data file for SAMPLER and OPTIMIZER2020-06-22T09:42:35+02:00adelmannRemove requirement of data file for SAMPLER and OPTIMIZERWe still use the runOPAL.py scheme with template / data file. However the design variables could be easily looked up in the dictionary or we invent new types: DvarReal etc.
[Edit: this has been moved to a separate issue, see #249! If we...We still use the runOPAL.py scheme with template / data file. However the design variables could be easily looked up in the dictionary or we invent new types: DvarReal etc.
[Edit: this has been moved to a separate issue, see #249! If we could define quantities of interest (a la optimizer) and write them to the json file lengthly post processing would be avoided.]
Edit:
- [x] remove the need for a data file (!288)
- [x] write a json file containing the values of the DVARs and objectives (#249)OPAL 2.4.0frey_mfrey_mhttps://gitlab.psi.ch/OPAL/src/-/issues/665Gas stripping for H2+ and deuterons2021-10-14T13:38:47+02:00ext-calvo_ppedro.calvo@ciemat.esGas stripping for H2+ and deuteronsBeam stripping interactions with the residual gas should be extended for `H2P` beams in `AIR` and `DEUTERON` beams.Beam stripping interactions with the residual gas should be extended for `H2P` beams in `AIR` and `DEUTERON` beams.OPAL 2021.1ext-calvo_ppedro.calvo@ciemat.esext-calvo_ppedro.calvo@ciemat.eshttps://gitlab.psi.ch/OPAL/src/-/issues/647Add option to write VTK file2021-04-23T11:25:53+02:00ext-calvo_ppedro.calvo@ciemat.esAdd option to write VTK fileWriting the VTK file of the voxel mesh increases the time consumption. To speed up boundary geometry initialization I propose to add an option to disable VTK files. In addition, as @gsell suggested, VTK files should only be written if th...Writing the VTK file of the voxel mesh increases the time consumption. To speed up boundary geometry initialization I propose to add an option to disable VTK files. In addition, as @gsell suggested, VTK files should only be written if they do not exist or are older than the geometry file.OPAL 2021.1ext-calvo_ppedro.calvo@ciemat.esext-calvo_ppedro.calvo@ciemat.eshttps://gitlab.psi.ch/OPAL/src/-/issues/634Reviewing physics behind particle matter interaction models2021-04-23T11:25:39+02:00ext-calvo_ppedro.calvo@ciemat.esReviewing physics behind particle matter interaction models- Extend the energy loss calculation and beam scattering for other incoming heavy ions. It is currently only valid for protons
- Add energy loss at very low energy region (1-10 keV) (see ICRU Report 49)
- Document stopping power at Ander...- Extend the energy loss calculation and beam scattering for other incoming heavy ions. It is currently only valid for protons
- Add energy loss at very low energy region (1-10 keV) (see ICRU Report 49)
- Document stopping power at Anderson-Ziegler region
- Update atomic weight of materials according to [database 2019](https://www.qmul.ac.uk/sbcs/iupac/AtWt/) and other [material properties](https://pdg.lbl.gov/2020/AtomicNuclearProperties/)
- Add alpha particle beams
- Review energy threshold for stripper gas interactionsOPAL 2021.1ext-calvo_ppedro.calvo@ciemat.esext-calvo_ppedro.calvo@ciemat.eshttps://gitlab.psi.ch/OPAL/src/-/issues/607Increase C++ Standard to c++172021-07-07T16:32:50+02:00krausIncrease C++ Standard to c++17The current minimal version of gcc (7.3) and clang (9.0) support c++17 (with the only exception of [Matching template template parameters to compatible arguments (p0522r0)](https://wg21.link/p0522r0) in clang).The current minimal version of gcc (7.3) and clang (9.0) support c++17 (with the only exception of [Matching template template parameters to compatible arguments (p0522r0)](https://wg21.link/p0522r0) in clang).OPAL 2021.1gsellgsellhttps://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/503Add more information to the HDF5 file written by monitors2021-04-05T20:16:16+02:00krausAdd more information to the HDF5 file written by monitors### Summary
Currently the HDF5 file that is written by the monitors provides very limited information (x, y, t, px, py, pz). More information should be added such as the charge and the mass of the particles. Ideally the same information ...### Summary
Currently the HDF5 file that is written by the monitors provides very limited information (x, y, t, px, py, pz). More information should be added such as the charge and the mass of the particles. Ideally the same information as in the phase space file should be added.OPAL 2021.1krauskraushttps://gitlab.psi.ch/OPAL/src/-/issues/737P3M solver2022-09-23T12:59:37+02:00muralikrishnanP3M solver### Summary
Complete the P3M solver initiated by Benjamin Ulmer in his Master's thesis so that it can be used in
scenarios where collisions might be important.### Summary
Complete the P3M solver initiated by Benjamin Ulmer in his Master's thesis so that it can be used in
scenarios where collisions might be important.2022.1muralikrishnanmuralikrishnanhttps://gitlab.psi.ch/OPAL/src/-/issues/729dumping 6D beam matrix at each time steps2022-09-23T12:59:28+02:00ext-piot_pdumping 6D beam matrix at each time steps### Summary
Introduce an option dumpBeamMarix that enable the 21 elements (upper triangle) of the 6D beam (sigma) matrix to be written in the stat file.### Summary
Introduce an option dumpBeamMarix that enable the 21 elements (upper triangle) of the 6D beam (sigma) matrix to be written in the stat file.2022.1ext-piot_pext-piot_phttps://gitlab.psi.ch/OPAL/src/-/issues/722Asymmetric Enge function for Scaling FFA Magnet2022-09-14T13:27:24+02:00ext-rogers_cAsymmetric Enge function for Scaling FFA Magnet### Summary
Request to add in a new end field model - using an asymmetric enge function - for Scaling FFA magnet.### Summary
Request to add in a new end field model - using an asymmetric enge function - for Scaling FFA magnet.2022.1https://gitlab.psi.ch/OPAL/src/-/issues/693Add option to compute percentiles2022-03-08T16:54:12+01:00krausAdd option to compute percentilesThe rms and max bunch size and the normalized emittance of the whole bunch give only an incomplete picture of the actual situation. By computing the 95 (2 sigmas for normal distribution), the 99.7 (3 sigmas) and the 99.99 (4 sigmas) perc...The rms and max bunch size and the normalized emittance of the whole bunch give only an incomplete picture of the actual situation. By computing the 95 (2 sigmas for normal distribution), the 99.7 (3 sigmas) and the 99.99 (4 sigmas) percentiles one can gain more details about the bunch.2022.1krauskraushttps://gitlab.psi.ch/OPAL/src/-/issues/684Beam stripping physics in OPAL-t2022-07-08T10:15:01+02:00ext-calvo_ppedro.calvo@ciemat.esBeam stripping physics in OPAL-tBeam stripping interactions are currently restricted to OPAL-cycl.
`VACUUM` element must be adapted to extend the beam stripping physics algorithm to beam lines in OPAL-t.Beam stripping interactions are currently restricted to OPAL-cycl.
`VACUUM` element must be adapted to extend the beam stripping physics algorithm to beam lines in OPAL-t.2022.1ext-calvo_ppedro.calvo@ciemat.esext-calvo_ppedro.calvo@ciemat.eshttps://gitlab.psi.ch/OPAL/src/-/issues/681Use ENABLEHDF5 in OPAL-T2022-02-13T11:50:30+01:00krausUse ENABLEHDF5 in OPAL-TThere is an option ENABLEHDF5 which should allow to disable all HDF5 output. This option doesn’t seem to be supported in OPAL-T.There is an option ENABLEHDF5 which should allow to disable all HDF5 output. This option doesn’t seem to be supported in OPAL-T.2022.1krauskraushttps://gitlab.psi.ch/OPAL/src/-/issues/680Remove interactive mode, replace it with additional help option.2022-02-04T16:05:23+01:00krausRemove interactive mode, replace it with additional help option.The interactive mode is presumably not used by anyone. I propose therefore to remove it and add instead an option to print the help for commands on the command line.
Additionally I noticed that Opal crashes while printing the help messa...The interactive mode is presumably not used by anyone. I propose therefore to remove it and add instead an option to print the help for commands on the command line.
Additionally I noticed that Opal crashes while printing the help messages. The reason is that the type names `predefined string`, `upper case string` and `upper case string array` are longer than 16 characters. However the user doesn't have to know what these types represent, they are simply strings and string arrays respectively.2022.1krauskraushttps://gitlab.psi.ch/OPAL/src/-/issues/673Add option to disable deletion of particles when exiting transversally2021-09-07T13:08:13+02:00krausAdd option to disable deletion of particles when exiting transversallyIn Opal-T all particles that exit an element transversally are deleted. With this feature request an option should be added with which the user can disable this behavior per element. This can be used e.g. for alpha magnets.In Opal-T all particles that exit an element transversally are deleted. With this feature request an option should be added with which the user can disable this behavior per element. This can be used e.g. for alpha magnets.2022.1krauskraushttps://gitlab.psi.ch/OPAL/src/-/issues/516pyopal - specification2022-07-18T10:19:57+02:00ext-rogers_cpyopal - specification### Summary
Specification for pyopal
[2020-04-20_PyOpal.docx](/uploads/7deccec6c3c38595bfcbe9cae0b4b05c/2020-04-20_PyOpal.docx)### Summary
Specification for pyopal
[2020-04-20_PyOpal.docx](/uploads/7deccec6c3c38595bfcbe9cae0b4b05c/2020-04-20_PyOpal.docx)2022.1ext-rogers_cext-rogers_chttps://gitlab.psi.ch/OPAL/src/-/issues/786Unused degrader attributes2023-10-10T16:03:08+02:00ext-calvo_ppedro.calvo@ciemat.esUnused degrader attributesThe attributes of the degrader (`XSIZE` and `YSIZE`) are currently unused. A function should be added to verify that the particles are inside the element employing these attributes according to the [description](http://amas.web.psi.ch/op...The attributes of the degrader (`XSIZE` and `YSIZE`) are currently unused. A function should be added to verify that the particles are inside the element employing these attributes according to the [description](http://amas.web.psi.ch/opal/Documentation/master/#sec.elements.degrader-opal-t).2023.1ext-calvo_ppedro.calvo@ciemat.esext-calvo_ppedro.calvo@ciemat.es