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

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

Forum: Geometry
Re: Question GetReplicaNo(): Point outside voxels! *** Fatal Error In Argument (Gianfranco Gargano)
Re: Feedback Re: GetReplicaNo(): Point outside voxels! *** Fatal Error In Argument (Pedro Arce)
Date: 07 Jun, 2011
From: Asja Pfaffenberger <Asja Pfaffenberger>

Dear Pedro,

i had the same error message when introducing a magnetic field in the DICOM example (cf. entry 182 in Fields: Magnetic and Other), still using geant4.9.3.p02 to be consistent with results i have produced before.

I modified G4PhantomParameterisation.cc according to what you said:

--
  G4Box* container = (G4Box*)(fContainerSolid);
  G4cout << "x: " << localPoint.x() - container->GetXHalfLength() << G4endl;
  G4cout << "y: " << localPoint.y() - container->GetYHalfLength() << G4endl;
  G4cout << "z: " << localPoint.z() - container->GetZHalfLength() << G4endl;
--

And then i re-ran Geant4's ./Configure -build.

Here is what i get:

--
 Compiling G4PhantomParameterisation.cc ...
 src/G4PhantomParameterisation.cc: In member function 'G4int  G4PhantomParameterisation::GetReplicaNo(const G4ThreeVector&,const G4ThreeVector&)':
 src/G4PhantomParameterisation.cc:241: error: invalid use of incomplete type 'struct G4Box'
 /home/pfaffenb/filesGeant4.9.3/geant4.9.3.p02/source/geometry/management/include/G4VPVParameterisation.hh:57: error: forward declaration of 'struct G4Box'
 src/G4PhantomParameterisation.cc:242: error: invalid use of incomplete type 'struct G4Box'
 /home/pfaffenb/filesGeant4.9.3/geant4.9.3.p02/source/geometry/management/include/G4VPVParameterisation.hh:57: error: forward declaration of 'struct G4Box'
 src/G4PhantomParameterisation.cc:243: error: invalid use of incomplete type 'struct G4Box'
 /home/pfaffenb/filesGeant4.9.3/geant4.9.3.p02/source/geometry/management/include/G4VPVParameterisation.hh:57: error: forward declaration of 'struct G4Box'
 /usr/local/sw/cern/64bit/CLHEP-2.0.4.5/include/CLHEP/Units/PhysicalConstants.h: At global scope:
 /usr/local/sw/cern/64bit/CLHEP-2.0.4.5/include/CLHEP/Units/PhysicalConstants.h:80: warning: 'CLHEP::electron_charge' defined but not used
gmake[2]: *** [/home/pfaffenb/filesGeant4.9.3/geant4.9.3.p02/tmp/Linux-g++/G4navigation/G4PhantomParameterisation.o] Error 1
--

Would highly appreciate your help.

Regards,
           Asja

 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 ]