Search found 6 matches

by Demurtas
15 Apr 2024, 09:53
Forum: Linac Tracking
Topic: Dispersion Optimization Discrepancy in a Dogleg
Replies: 0
Views: 64

Dispersion Optimization Discrepancy in a Dogleg

Hello everyone, I'm working on a transport line with a dogleg for a Compton source. I'm having problems with the optimization of the dispersion. The lattice is composed of two sector dipoles with three quadrupoles in between. I used the elegant optimizer to impose the dispersion and its derivative t...
by Demurtas
19 Jun 2023, 13:11
Forum: General
Topic: How to consider "macro-particle" weight
Replies: 6
Views: 6438

Re: How to consider "macro-particle" weight

Yes, in this case, I have only one bunch at a time; thank you for the answer!
by Demurtas
19 Jun 2023, 07:59
Forum: General
Topic: How to consider "macro-particle" weight
Replies: 6
Views: 6438

Re: How to consider "macro-particle" weight

Here is the example vary Charge I followed and the .ele file.
by Demurtas
19 Jun 2023, 07:55
Forum: General
Topic: How to consider "macro-particle" weight
Replies: 6
Views: 6438

Re: How to consider "macro-particle" weight

Hi, I have a question about the same topic. To simulate the bunch in the previously attached file, where all the macroparticles have different charges, I tried to write an SDDS input file with one page for each macroparticle, giving another input file a list with the various charges. I followed the ...
by Demurtas
08 Jun 2023, 07:36
Forum: General
Topic: How to consider "macro-particle" weight
Replies: 6
Views: 6438

Re: How to consider "macro-particle" weight

Thanks for the answer, I will find another way to use them.
by Demurtas
20 Apr 2023, 04:36
Forum: General
Topic: How to consider "macro-particle" weight
Replies: 6
Views: 6438

How to consider "macro-particle" weight

Dear all, I have to simulate a beam where, in the SDDS input file, there is a column indicating the weight (i.e. the charge if multiplied by e) of each row/ macro-particle. I am very new to elegant, and looking at the examples and the other requests on the forum I didn’t find how to consider this we...