What exactly is this warning about?

I got this warning during my simulation. What is this warning about?. will it affect the results?

13: DIFFERENCE WITH PHANTOM WALLS X: nan Y: nan Z: nan
13:
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomNav1002
issued by : G4PhantomParameterisation::GetReplicaNo()
Corrected the copy number! It was negative or too big
LocalPoint: (nan,nan,nan)
LocalDir: (nan,nan,nan)
Voxel container size: 150 150 116.5
LocalPoint - wall: nan nan nan
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

13:
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomNav1001
issued by : G4Navigator::ComputeStep()
Point is relocated in voxels, while it should be outside!
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

==============================================================
_Geant4 Version:_geant4.10.03.p03
_Operating System:_x86_64-redhat-linux
_Compiler/Version:gcc version 8.5.0 20210514 (Red Hat 8.5.0-20) (GCC)
_CMake Version:_cmake/3.10.3

Thank you so much for helping.

1 Like

@zz_33

This warning appears due to the track navigation in the geometry since track is formed as of small steps and if in the geometry the size of voxel is much smaller than track experience zero steps. This is only warning messages, and it does not affect results.
BTW, i once fixed this problem by making changes in the main G4 code, i.e. look for the G4Navigator.CC and make changes in
Step += 100kCarTolerance;
by
Step += kCarTolerancestd::pow(10.,fNumberZeroSteps);

The original author of this sugestion is Pedro Acre
Ref.: Geant4.10: G4Navigator.cc Source File
[Look line 954.]
Ref: DICOM example Stuck Track error for small voxels - #5 by tgilat

VRS

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.