Message: Re: Inifinite loop in G4OpBounadryProcess::DoReflection() Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Inifinite loop in G4OpBounadryProcess::DoReflection()  

Forum: Processes Involving Optical Photons
Re: Warning Inifinite loop in G4OpBounadryProcess::DoReflection() (Maxim Gonchar)
Date: 06 May, 2009
From: Gumplinger Peter <Gumplinger Peter>

Maxim,

> But what happens to the Lambertian reflection in case when the normal is 0?

> What should be used instead?

The underlying problem is the zero normal. Ask yourself, what physics should we be simulating for the photon when the geometry doesn't return a correct normal? I agree, the optical photon process should maybe be more picky in what it accepts as a surface normal, e.g. throw an exception instead of falling into an infinite loop.

I'll reply further to your bug report: 1060

Peter

 Add Message Add Message
to: "Re: Inifinite loop in G4OpBounadryProcess::DoReflection() "

 Subscribe Subscribe

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