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

Feedback Re: i got error message  

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

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

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

1 None: Re: i got error message   (Wonjoong Cheon - 05 Dec, 2016)
(_ 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