Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem!
_Geant4 Version:_11.3.0
_Operating System:_Ubuntu20.04
Dear friends:
When I was modifying the UHDR example, the following error message appeared:
=======================================================================
-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : InvalidParticlePosition
issued by : BoundedBrownianAction::GetDistanceToBoundary
Point is out of box: {50 um , -50 um , 10 um , -50 um , 50 um , -10 um , } of particle: e_aq (-8077): (1.28652e-05,-1.28872e-05,-0.010046)
*** Fatal Error In Argument *** core dump ***
G4WT0 > G4Track (0x7f6f6f379238) - track ID = 4795, parent ID = 2
G4WT0 > Particle type : e- - creator process : e-_G4DNAIonisation, creator model : model_DNA
G4WT0 > Kinetic energy : 25 meV - Momentum direction : (6.92268e-310,0.612245,-0.614956)
G4WT0 > Step length : 2.54317e-298 fm - total energy deposit : 3.58332 eV
G4WT0 > Pre-step point : (-2.33431e-07,2.29045e-07,-0.0299894) - Physical volume : Tissue (G4_WATER)
G4WT0 > - defined by : not available
G4WT0 > Post-step point : (-2.33431e-07,2.29045e-07,-0.0299894) - Physical volume : Tissue (G4_WATER)
G4WT0 > - defined by : e-_G4DNAElectronSolvation - step status : 4
G4WT0 > *** Note: Step information might not be properly updated.
G4WT0 >
-------- EEEE -------- G4Exception-END --------- EEEE -------
G4WT0 >
G4WT0 > *** G4Exception: Aborting execution ***
Abandoned (core dumped)
I found that the reason was that the XY and Z sizes used in my model were not the same. May I ask if this example does not support cuboid modules, only cubes?
Best Wishes
Hu