Message: Re: i got error message Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: i got error message  

Forum: Processes Involving Optical Photons
Re: Question i got error message "Optical Photon Energy <= 0 " (Wonjoong Cheon)
Re: Feedback Re: i got error message (Gumplinger Peter)
Date: 05 Dec, 2016
From: Wonjoong Cheon <Wonjoong Cheon>

On Mon, 05 Dec 2016 21:40:30 GMT, Gumplinger Peter wrote:
> Hi Wonjoong Cheon,
> 
> > I got a message and the simulation was aborted.
> > 
> > -------- EEEE ------- G4Exception-START -------- EEEE -------
> > *** G4Exception : mat205
> >       issued by : G4MaterialPropertiesTable::SetGROUPVEL()
> > Optical Photon Energy <= 0
> > *** Fatal Exception *** core dump ***
> > -------- EEEE -------- G4Exception-END --------- EEEE -------
> 
> This exception is issued from:
> 
> http://www-geant4.kek.jp/lxr/source/materials/src/G4MaterialPropertiesTable.cc#L119
> 
> So, either:
> 
> G4double E0 = rindex->Energy(0); G4double E1 = rindex->Energy(1); E1 =
> rindex->Energy(i);
> 
> is <= 0.
> 
> How did you define the index of refraction for the material? It has to
> be an array of at least 2 members and you've to give the optical photon
> energy corresponding to that index.
> 
> Peter
> 

Thanks your quick response.

But, I assigend vector to RINDEX variable.

I don't know what is the problem.

In details.

Make and Compile - Succeess Simulation run. --> some primary particles (gamma) were generated, thus some optical photons were generated. --> but, suddenly, in specific optical photon, I got a error messages..

> > -------- EEEE ------- G4Exception-START -------- EEEE -------
> > *** G4Exception : mat205
> >       issued by : G4MaterialPropertiesTable::SetGROUPVEL()
> > Optical Photon Energy <= 0
> > *** Fatal Exception *** core dump ***
> > -------- EEEE -------- G4Exception-END --------- EEEE -------

I attached whole code of my simulation.

https://github.com/wjcheon/Scintillator_Simple_Geant4/blob/master/src/DetectorConstruction.cc

Please help me.

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

1 Warning: Re: i got error message   (Gumplinger Peter - 06 Dec, 2016)
(_ Ok: Re: i got error message   (Wonjoong Cheon - 06 Dec, 2016)
 Add Message Add Message
to: "Re: i got error message "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews