MapSolenoid

Moderators: cyao, michael_borland

Post Reply
fliller
Posts: 38
Joined: 06 Aug 2008, 14:02

MapSolenoid

Post by fliller » 27 Jun 2012, 13:53

Mike,

I would like to use the Mapsolenoid element to track through a solenoid. The format is the SDDS file is unclear to me. It looks like 4 columns Bz, Br, z and r. The thing that confuses me is "Each page should have values for fixed r". Is there an example of how to use this element? Thanks.

Ray

michael_borland
Posts: 1813
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: MapSolenoid

Post by michael_borland » 27 Jun 2012, 14:14

Ray,

Please see attached.

--Michael
Attachments
solenoid.sdds
(78.09 KiB) Downloaded 163 times

fliller
Posts: 38
Joined: 06 Aug 2008, 14:02

Re: MapSolenoid

Post by fliller » 27 Jun 2012, 14:47

Michael,

Thanks. Now I'm trying to get that file to work and I get "****Error: determineMatrix called for element that is not supported! ***Seek professional help!"

Attached are my files..... Just tracking through Solenoid.sdds do see that I can get everything else correct....

This is not the first time I've been told to get professional help! :-)

Ray
Attachments
TrackSolenoid.ele
(546 Bytes) Downloaded 136 times
SolenoidMap.lte
(186 Bytes) Downloaded 137 times

michael_borland
Posts: 1813
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: MapSolenoid

Post by michael_borland » 27 Jun 2012, 15:18

Ray,

Yes, it turns out there is a bug. I don't see a workaround for it. If you are using 64 bit linux or build from source, I can give you a patch. Otherwise, it will take a little while to roll one out.

--Michael

Post Reply