Hello!
I noticed that CWIGGLER element cannot be divided. Because of that, twiss_output command is not computing Twiss parameters in the center of a wiggler. So I looked for a simple way of setting up wiggler with bend magnets and found mentions of makeWigglerFromBends script designed to do just what I was looking for. I'm using latest version of elegant (2021.4) on Windows, but I can't find this script. Do I need to install some additional package with makeWigglerFromBends included or it is supported only on Linux?
makeWigglerFromBends script on Windows
Moderators: cyao, michael_borland
-
- Posts: 24
- Joined: 14 Apr 2021, 09:42
makeWigglerFromBends script on Windows
Respectfully,
Mikhail A. Skamarokha.
Mikhail A. Skamarokha.
Re: makeWigglerFromBends script on Windows
Look in the same directory elegant.exe is in. The default path would be:
C:\Program Files\APS\Elegant x64\makeWigglerFromBends
This script will require ActiveTcl, OAG Tcl/TK and Cygwin also be installed. Then run from inside of a Cygwin command-line terminal.
C:\Program Files\APS\Elegant x64\makeWigglerFromBends
This script will require ActiveTcl, OAG Tcl/TK and Cygwin also be installed. Then run from inside of a Cygwin command-line terminal.
-
- Posts: 24
- Joined: 14 Apr 2021, 09:42
Re: makeWigglerFromBends script on Windows
Thanks!
Had to download ActiveTcl and OAG Tcl/TK. But there was oagtclsh error when I tried to run script. So I copied tclsh.exe to oagtclsh.exe and it worked.
Had to download ActiveTcl and OAG Tcl/TK. But there was oagtclsh error when I tried to run script. So I copied tclsh.exe to oagtclsh.exe and it worked.
Respectfully,
Mikhail A. Skamarokha.
Mikhail A. Skamarokha.