Message: Re: GetReplicaNo(): Point outside voxels! *** Fatal Error In Argument Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: GetReplicaNo(): Point outside voxels! *** Fatal Error In Argument 

Forum: Geometry
Re: Question GetReplicaNo(): Point outside voxels! *** Fatal Error In Argument (Gianfranco Gargano)
Date: 06 Apr, 2011
From: Pedro Arce <Pedro Arce>

The error message can be due that we are very strict in checking that the point is inside the phantom and there can be precision problems. You can check it by printing the difference between the local point and your phantom container dimensions, for example:

G4Box* container = (G4Box*)(fContainerSolid);

G4cout << localPoint.z() - container->GetZHalfLength();

If this is your case, you may replace the error by a warning:

                JustWarning, "Point outside voxels!");
    //                FatalErrorInArgument, "Point outside voxels!");

Pedro

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

1 Question: Re: GetReplicaNo(): Point outside voxels! *** Fatal Error In Argument   (Gianfranco Gargano - 07 Apr, 2011)
2 None: Re: GetReplicaNo(): Point outside voxels! *** Fatal Error In Argument   (Asja Pfaffenberger - 07 Jun, 2011)
 Add Message Add Message
to: "Re: GetReplicaNo(): Point outside voxels! *** Fatal Error In Argument"

 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 ]