src issueshttps://gitlab.psi.ch/OPAL/src/-/issues2021-06-10T18:49:09+02:00https://gitlab.psi.ch/OPAL/src/-/issues/71track-orbit of ID1 and ID2 OPAL-1.6 and master2021-06-10T18:49:09+02:00adelmanntrack-orbit of ID1 and ID2 OPAL-1.6 and masterIn data/track-orbit, the coordinates of ID1 and ID2 are **always** stored.
On the distribution command the user can set ID1 and ID2 by *hand*.
@rizzoglio_v : Please commentIn data/track-orbit, the coordinates of ID1 and ID2 are **always** stored.
On the distribution command the user can set ID1 and ID2 by *hand*.
@rizzoglio_v : Please commentadelmannadelmannhttps://gitlab.psi.ch/OPAL/src/-/issues/66Reimplement boundary geometries, surface emission, multipacting etc in Parall...2021-06-10T18:10:55+02:00krausReimplement boundary geometries, surface emission, multipacting etc in ParallelTTrackerBoundary geometries, surface emission etc isn't ported from version 1.6 and in the near futur this won't be ported.Boundary geometries, surface emission etc isn't ported from version 1.6 and in the near futur this won't be ported.OPAL 1.9.xChuan WangChuan Wanghttps://gitlab.psi.ch/OPAL/src/-/issues/65Quadrupole components of dipoles is missing2021-06-10T18:10:26+02:00krausQuadrupole components of dipoles is missingK1 has been removed from RBEND/SBEND, reimplement it.K1 has been removed from RBEND/SBEND, reimplement it.OPAL 1.9.xhttps://gitlab.psi.ch/OPAL/src/-/issues/562General elements for electrostatitic and magnetostatic fields2021-06-10T17:47:02+02:00krausGeneral elements for electrostatitic and magnetostatic fields### Summary
Currently not every element can be modeled with a specific element in Opal. Instead one has to use 3D field maps and either a solenoid (only for magneto static fields) or an rf cavity. This isn't very intuitive. Instead we c...### Summary
Currently not every element can be modeled with a specific element in Opal. Instead one has to use 3D field maps and either a solenoid (only for magneto static fields) or an rf cavity. This isn't very intuitive. Instead we could provide "blank" elements for the general case, e.g. GENERALELECTROSTATIC and GENERALMAGNETOSTATIC.https://gitlab.psi.ch/OPAL/src/-/issues/606Container support2021-06-10T17:42:42+02:00bellotti_rContainer supportI suggest to provide container images for OPAL. It is quite complicated to build it, and requires running specific scripts in a specific order. On the other hand, pulling (or building) an image is just one command. The system agnostic ap...I suggest to provide container images for OPAL. It is quite complicated to build it, and requires running specific scripts in a specific order. On the other hand, pulling (or building) an image is just one command. The system agnostic approach circumvents problems when clusters provide different versions of the dependencies, or change them.https://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/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/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/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/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/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/376Feature Request: OPAL Cheat Sheet2020-06-10T08:29:27+02:00bellotti_rFeature Request: OPAL Cheat SheetI think a cheat sheet would be very helpful for people who are new to OPAL. Especially to get an overview about what is possible, and which commands exist without having to go through the wiki section by section. Of course, detailed info...I think a cheat sheet would be very helpful for people who are new to OPAL. Especially to get an overview about what is possible, and which commands exist without having to go through the wiki section by section. Of course, detailed information should still be looked up.
My suggestion is to give a short config snippet for the most common building blocks. [This PDF](https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf) might be a good guideline what I mean.
What do you think?adelmannadelmannhttps://gitlab.psi.ch/OPAL/src/-/issues/245Re-enable Slice tracker2020-04-23T11:01:30+02:00krausRe-enable Slice trackerThe ParallelSliceTracker was disabled since it relied heavily on ParallelTTracker which has been reimplemented with 3D placement of the elements.The ParallelSliceTracker was disabled since it relied heavily on ParallelTTracker which has been reimplemented with 3D placement of the elements.krauskraushttps://gitlab.psi.ch/OPAL/src/-/issues/379Add phase-space halo parameter to stat and smb file2020-04-22T11:53:50+02:00frey_mAdd phase-space halo parameter to stat and smb fileWe currently write the spatial-profile parameter to the stat file. However, I think, it makes sense to write also the phase-space halo parameter to the file. The formulas are in https://journals.aps.org/prab/abstract/10.1103/PhysRevSTAB....We currently write the spatial-profile parameter to the stat file. However, I think, it makes sense to write also the phase-space halo parameter to the file. The formulas are in https://journals.aps.org/prab/abstract/10.1103/PhysRevSTAB.5.124202frey_mfrey_mhttps://gitlab.psi.ch/OPAL/src/-/issues/209Compiling OPAL using OPAL package2020-04-22T11:42:20+02:00krausCompiling OPAL using OPAL packageIn the past it was possible to build OPAL using the OPAL package downloaded from the wiki (then it was still on trac not gitlab). Furthermore there was a description on the wiki how this can be done.
Currently I face the problem that I'...In the past it was possible to build OPAL using the OPAL package downloaded from the wiki (then it was still on trac not gitlab). Furthermore there was a description on the wiki how this can be done.
Currently I face the problem that I'd like to build OPAL on the servers of Helmholtz-Zentrum Berlin. They use a version of a Linux distro that is outdated (several years old). Modules that provide newer versions such as at PSI are, as far as I know, not supported. That means I would have to build a lot of tools (gcc, cmake, openmpi and possibly many more) before I could build OPAL.
With the current package, OPAL-1.6.1-3, building OPAL isn't supported. Among others cmake and mpicxx/mpicc are missing.
I would propose to reenable this feature since it lowers the barrier to build and develop OPAL. This applies especially to those that aren't yet used to build software from source.gselladelmanngsellhttps://gitlab.psi.ch/OPAL/src/-/issues/170SurfacePhysics in OPAL-Cyc2020-04-22T11:41:42+02:00Valeria RizzoglioSurfacePhysics in OPAL-CycI ran a small test using OPAL-Cyc - RINGDEFINITION with a CCOLLIMATOR. I applied the SURFACEPHYSICS on the CCOLLIMATOR but the Monte Carlo was not performed. The beam colliding with the CCOLLIMATOR was simply lost and not scattered. This...I ran a small test using OPAL-Cyc - RINGDEFINITION with a CCOLLIMATOR. I applied the SURFACEPHYSICS on the CCOLLIMATOR but the Monte Carlo was not performed. The beam colliding with the CCOLLIMATOR was simply lost and not scattered. This is related to the
Issue #149
```
Coll: SURFACEPHYSICS, TYPE="DEGRADER", ENABLERUTHERFORD=TRUE, MATERIAL="GraphiteR6710";
Quad1_BP: CCollimator, XSTART=-1000, XEND=-1000, YSTART=1800, YEND=1810, ZSTART=70, ZEND=170, WIDTH=200.0, SURFACEPHYSICS=Coll;
```
I tried to change TYPE with "COLLIMATOR" and "CCOLLIMATOR", but the results did not change.
Attached the input file and the output.
[MonteCarlo_Cyc.in](/uploads/013bde1e7b0452d5fbbe266d0a7026ed/MonteCarlo_Cyc.in)[TYPE_COLLIMATOR.out](/uploads/a33c60beb640faccc6353c882565d3a8/TYPE_COLLIMATOR.out)
I ran on Merlin with the following settings:
```
1) gcc/5.4.0 3) OPAL/1.6.0 5) root/6.08.02 7) Tcl/8.6.4 9) Python/2.7.12 11) gsl/2.2.1 13) psi-python27/2.2.0
2) openmpi/1.10.4 4) OPAL/1.6 6) openssl/1.0.2j 8) Tk/8.6.4 10) boost/1.62.0
```OPAL 2.0.0adelmannadelmannhttps://gitlab.psi.ch/OPAL/src/-/issues/67Specification of distributions a la Elegant2020-04-22T11:38:48+02:00krausSpecification of distributions a la ElegantTo generate a distribution that corresponds to Elegant using betax, alphax, betay, alphay, nemittx, nemitty, sigma_s/sigma_t, p, sigma_dp.
J. KnedelTo generate a distribution that corresponds to Elegant using betax, alphax, betay, alphay, nemittx, nemitty, sigma_s/sigma_t, p, sigma_dp.
J. KnedelOPAL 1.9.xhttps://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/275OPAL-t : Transverse Distribution from Laser Profile (Under Development)2019-12-17T09:33:15+01:00adelmannOPAL-t : Transverse Distribution from Laser Profile (Under Development)What is the status of the Transverse Distribution from Laser Profile ?
How is the h5 file containing the virtual cathode image defined?
Background: there is an interest at LCLS and LCLS-IIWhat is the status of the Transverse Distribution from Laser Profile ?
How is the h5 file containing the virtual cathode image defined?
Background: there is an interest at LCLS and LCLS-IIkrauskraus