Message: Re: Adding quadrupole Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Adding quadrupole 

Forum: Fields: Magnetic and Otherwise
Re: Question Adding quadrupole (Lukasz Fulek)
Re: Feedback Re: Adding quadrupole (Gumplinger Peter)
Re: Question Re: Adding quadrupole (Lukasz Fulek)
Re: Feedback Re: Adding quadrupole (Gumplinger Peter)
Date: 13 Jan, 2012
From: Lukasz Fulek <Lukasz Fulek>

Hi, Thanks for your reply but as you have noticed, I had already done it. I created my own quadrupole field class. In method GetFieldValue I added the rotation matrix and position in my global coordinates. Next I had to covert my global coordinates to local, evaluate the magnetic field and go back to global coordinates. My solution is similar to yours. Once again, thanks for your help.

 Add Message Add Message
to: "Re: Adding quadrupole"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]