Message: Re: program hang on in magnetic field Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: program hang on in magnetic field 

Forum: Fields: Magnetic and Otherwise
Re: None program hang on in magnetic field (Zhongdong Zhang)
Date: 12 Jul, 2005
From: John Apostolakis <John Apostolakis>

Output from /tracking/verbose shows that a process makes all the momentum direction cartesian components 'NaN'.

Looking at further verbose output (from /tracking/verbose 6) that Zhongdong has provided, we see that it is not the transportation (and thus the field module) that is responsible for this NaN in momentum, but an Ionisation process (see verbosity below).

In order to identify the process and the underlying reason, we are looking into the physics lists used.

Best regards,
John.
------------------------------------------------------------------------------------
 >>PostStepDoIt (process by process):    Process Name = hIoni

    ++G4Step Information
      Address of G4Track    : 0x94509a8
      Step Length (mm)      : 0.1831550063464724
      Energy Deposit (MeV)  : 0.007035918703070614
      -----------------------------------------------------------------------
        StepPoint Information               PreStep            PostStep
      -----------------------------------------------------------------------
         Position - x (mm)   :     845.595933610975   845.6682652455552
         Position - y (mm)   :   -143.0060193537246  -142.8497442884144
         Position - z (mm)   :    150.7255513994749   150.7874230557541
         Global Time (ns)    :    19.26187279975728   19.32340311636678
         Local Time (ns)     :                    0 0.06153031660949893
         Proper Time (ns)    :                    0 0.06152728927959584
         Momentum Direct - x :   0.3952969563502984                 nan
         Momentum Direct - y :   0.8540531128474157                 nan
         Momentum Direct - z :   0.3381325135739386                 nan
         Momentum - x (MeV/c):    51.13571432925922                 nan
         Momentum - y (MeV/c):    110.4805268520178                 nan
         Momentum - z (MeV/c):    43.74090754250312                 nan
         Total Energy (MeV)  :    13040.85002131427   13040.84288593296
         Kinetic Energy (MeV):   0.6416179440887584  0.6344825627746238
         Velocity (mm/ns)    :    2.973826720314346   2.957477625205532
         Volume Name         :                World               World
         Safety (mm)         :                    0   71.33887903644329
         Polarization - x    :                    0                   0
         Polarization - y    :                    0                   0
         Polarization - Z    :                    0                   0
         Weight              :                    1                   1
         Step Status         :            Undefined       PostStep Proc
         Process defined Step:            Undefined               hIoni
      -----------------------------------------------------------------------

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

 Add Message Add Message
to: "Re: program hang on in 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 ]