Search found 83 matches
- 02 Mar 2011, 12:45
- Forum: General
- Topic: backtracking
- Replies: 10
- Views: 12628
Re: backtracking
Michael, Thanks for all the details, now I understand the issue (could you elaborate on what is the problem with having s not a differential element -- I did not get this). Because of what I am trying to do, I want to use the transfer matrix of a cavity (or of the full beamline) -- this has to do wi...
- 01 Mar 2011, 15:30
- Forum: Installation
- Topic: problem compiling elegant 24.0.1
- Replies: 2
- Views: 31234
problem compiling elegant 24.0.1
All, I wanted to upgrade to elegant 24.0.1 from sources (I had 23.1.2 locally compiled and working). I simply renamed the current elegant directory oag/apps/src/elegant as oag/apps/src/elegant_23.2.1 and untar'ed the latest version of elegant. I then just cd in the new elegant directory and did a ./...
- 28 Feb 2011, 14:04
- Forum: General
- Topic: backtracking
- Replies: 10
- Views: 12628
Re: backtracking
Hello Michael, Thank you very much for your answer. I realized I misundersttod what the "-" operator in front of a beamline was doing. I have tested your suggestion and it works fine on several simple example. However it turn out not to be working for the system I was studying a fully-coupled beamli...
- 28 Feb 2011, 12:11
- Forum: General
- Topic: backtracking
- Replies: 10
- Views: 12628
backtracking
Hello All, I am confused on what the "-" operator does in the beamline definition. I am trying to backtrack a given "final-ideal" distribution to find out the initial distribution parameters I need for a given beamline. I define my beamline as "Beamline" and track my final desired distribution in a ...
- 16 Dec 2010, 08:38
- Forum: General
- Topic: combining beams
- Replies: 2
- Views: 4887
Re: combining beams
Thank you very much Michael. -- Philippe.
- 14 Dec 2010, 16:16
- Forum: General
- Topic: combining beams
- Replies: 2
- Views: 4887
combining beams
Hello, I am trying to generate a beam consisting of an array of beamlet separated in x and y by XOff and y Off; see script below. I use the script below and am wondering if there is a more efficient way of doing this (this script is VERY slow especially as the $input.total file start to get bigger a...
- 09 Jul 2010, 06:17
- Forum: Linac Tracking
- Topic: aperture
- Replies: 1
- Views: 4323
aperture
Hello, Is it possible in ELEGANT to define an "overall" aperture so that particles not within this aperture w.r.t. the reference particle *anywhere* along the beamline are lost? Right now the way I do this is to include many collimators along the beamline. I am trying to look at where particle are l...
- 26 Feb 2010, 17:03
- Forum: Bugs
- Topic: problem (bug?) with matrix calculation
- Replies: 2
- Views: 5322
problem (bug?) with matrix calculation
Hello, I am not sure this is a bug but I am struggling with a discrepancy between R16 and etax when using a matrix element. I am attaching a simple test file below. In short when I use a mtrix element in a beamline that is generating dispersion I noticed that my dispersion does not match with the R1...
- 06 Nov 2009, 13:53
- Forum: General
- Topic: Simulation of a multislit in elegant
- Replies: 3
- Views: 1893
Re: Simulation of a multislit in elegant
Thanks Michael. Since then I improved my tcl script to use the sddsprocess command. It is now much faster; I post below for the benefit of anybody interested -- Philippe. #!/bin/sh # \ exec tclsh "$0" "$@" if [llength $argv]!=2 { return -code error } set input [lindex $argv 0] set output [lindex $ar...
- 04 Nov 2009, 09:22
- Forum: General
- Topic: Simulation of a multislit in elegant
- Replies: 3
- Views: 1893
Simulation of a multislit in elegant
Hi, Is there a simple way to simulate a multislit system in elegant (e.g. a series of vertical slits with same opening and center-to-center separation as one would use to measure the transverse emittance). Right now I am doing this the "brute force way" using a tcl script with the SCRIPT command but...