Message: Re: The Electric field doesn't work Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: The Electric field doesn't work 

Forum: Particles
Re: Question The Electric field doesn't work (yanxin0221)
Re: Feedback Re: The Electric field doesn't work (Gumplinger Peter)
Re: None Re: The Electric field doesn't work (yanxin0221)
Date: 21 Oct, 2013
From: Gumplinger Peter <Gumplinger Peter>

> I need a electric field in x-direction. So I
> comment out the call to UpdateField().

Please, note that F02ElectricFieldSetup::UpdateField() does the following:

(*) Chooses a G4MagIntegratorStepper for your simulation

(*) assigns your field to the G4FieldManager

(*) instantiates a G4MagInt_Driver

(*) assigns the G4MagInt_Driver to G4FieldManager

It is beyond me why you think you need none of this simply because your E-field is in a different direction than the example.

> Why a electric field
> of z-direction is defined in void
> F02ElectricFieldSetup::SetFieldValue(G4double fieldValue)?

Good question! This may be unintended and could be changed.

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

1 None: Re: The Electric field doesn't work   (yanxin0221 - 22 Oct, 2013)
(_ Feedback: Re: The Electric field doesn't work   (Gumplinger Peter - 22 Oct, 2013)
 Add Message Add Message
to: "Re: The Electric field doesn't work"

 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 ]