Message: Setting a local magnetic Field Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Setting a local magnetic Field 

Keywords: local magnetic field
Forum: Fields: Magnetic and Otherwise
Date: 11 Oct, 2004
From: Laihem <Laihem>

Hi, I would like to set a magnetic field into a specific Volume of my setup but it seems that the magnetic field is everywhere in the World volume, I have followed in the exact way as done in the example: example/extended/field03 by setting for example:

 G4bool allLocal = false ;
 LogicalSpectroBoxInMag02->SetFieldManager( fEmField->GetLocalFieldManager(), allLocal ) ;

even in I put the boolean variable to True it does not work....

and the rest is like example example/extended/field03 So, the result is that my magnetic field is not local but global and applied to the whole world. Is there any problems in this example or something is missing in my code. thanks a lot in advance for any help.


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

1 Feedback: Re: Setting a local magnetic Field   (Peter Gumplinger - 20 Oct, 2004)
(_ None: Re: Setting a local magnetic Field   (Laihem - 21 Oct, 2004)
 Add Message Add Message
to: "Setting a local magnetic 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 ]