Message: Re: Magnetic field vs. Electromagnetic field Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Magnetic field vs. Electromagnetic field 

Forum: Fields: Magnetic and Otherwise
Re: Question Magnetic field vs. Electromagnetic field (Daniel Cox)
Date: 10 Feb, 2011
From: Gumplinger Peter <Gumplinger Peter>

Hi Daniel,

I don't see anything wrong with your code, except:

G4int nvar = 12; pStepper = new G4ClassicalRK4 (pEquation, nvar);

With G4EqMagElectricField (no spin tracking) you should use nvar = 8. But I don't know if this has anything to do with your troubles.

Peter

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Magnetic field vs. Electromagnetic field   (Daniel Cox - 10 Feb, 2011)
(_ Feedback: Re: Magnetic field vs. Electromagnetic field   (Gumplinger Peter - 10 Feb, 2011)
(_ More: Re: Magnetic field vs. Electromagnetic field   (Daniel Cox - 11 Feb, 2011)
(_ More: Re: Magnetic field vs. Electromagnetic field   (Daniel Cox - 16 Feb, 2011)
(_ None: Re: Magnetic field vs. Electromagnetic field   (Daniel Cox - 11 Apr, 2011)
(_ None: Re: Magnetic field vs. Electromagnetic field   (Daniel Cox - 21 Apr, 2011)
 Add Message Add Message
to: "Re: Magnetic field vs. Electromagnetic field"

 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 ]