Message: Re: Crashes with strong magnetic field Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Crashes with strong magnetic field 

Forum: Fields: Magnetic and Otherwise
Re: None Crashes with strong magnetic field
Date: 11 Jan, 2010
From: Gumplinger Peter <Gumplinger Peter>

> Crashes generally occur when the field value is large ( >5 Tl). The

> field is 1/r, in the center there is a region with B = 0, and the field

> is set from the global field manager.

Are you saying that you have a large discontinuity at some r0 where B=0 for r<r0 and B=B0/r for r>=r0? If this is your situation, it could be advantageous to define not a global field with this discontinuity but a field B0/r associated with a cylindrical volume with an r_min=r0.

As for random number seeding, you may want to take a look at example:

http://www-geant4.kek.jp/lxr/source/examples/extended/optical/wls/wls.cc#L76
http://www-geant4.kek.jp/lxr/source/examples/extended/optical/wls/src/WLSRunAction.cc#L67

Note, you have to setTheEngine BEFORE setTheSeed

 Add Message Add Message
to: "Re: Crashes with strong 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 ]