|Message: Re: Segmentation Fault (core dumped)||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
On Mon, 22 Feb 2016 17:40:12 GMT, Christopher Cotter wrote:
> Hi all, > > I'm receiving some very strange results that have me stumped. I'm still > learning my way around Geant4, so this could possibly be something easy. > I've been working on a modified version of example Hadr03. I've modified > the geometry, added a few isotope definitions, and re-enabled secondary > particle tracking in SteppingAction.cc. I've added calls to the > following physics lists, along with activating > G4HadronPhysicsQGSP_BIC_HP that was included but disabled by default: > > G4DecayPhysics G4IonBinaryCascadePhysics G4StoppingPhysics > G4RadioactiveDecayPhysics G4EmStandardPhysics_option3 > > I'm getting Segmentation fault (core dumped) if I go over either a > certain initial incident proton energy (~1MeV) or exceed a certain > number of histories. The strange part is that it will immediately return > this fault if I set a small number of initial histories (1 or 10), but > will display several hundred histories before crashing if I set the > history count to >1000. > > I've noticed that if I disable EmStandardPhysics, my initial protons > will pass through a 30cm water of phantom much too regularly...I'm > trying to aim at a target 15cm deep, which should require ~150MeV > protons. > > Is there some overlap in physics lists that I'm missing, or something > similar? > > Thank you, -Chris >
In a previous thread (1509), we wrote : " Hadr03 is designed to survey nuclear reactions. It assumes one interaction per event, and only one. There is a mechanism to build a string per nuclear channel. Also, nuclear interaction length is computed as the mean value of the unique step of the incident particle. If you allow secondary particles to travel and to become incident projectiles, all those things do not work or become wrong. "
To develop a complete application, please start from Hadr06.