Message: Re: Optical photons propagating at c instead of group velocity Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Optical photons propagating at c instead of group velocity 

Forum: Processes Involving Optical Photons
Re: Sad Optical photons propagating at c instead of group velocity (Douglas Roberts)
Re: Agree Re: Optical photons propagating at c instead of group velocity (Gumplinger Peter)
Date: 24 Jan, 2012
From: Gumplinger Peter <Gumplinger Peter>

Dear Doug,

Please see: http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1275

The tag: op-V09-05-00 fixes this problem. G4OpBoundaryProcess::DoIt calls aParticleChange.ProposeVelocity(aTrack.GetVelocity()) at every invocation, so that the variable - isVelocityChanged = true - in G4ParticleChange and hence theVelocityChange = pStep->GetTrack()->CalculateVelocity() is not requested. Moreover, for FresnelRefraction the process calculates the finalVelocity locally from Material2->GetMaterialPropertiesTable()->GetProperty("GROUPVEL") instead of calling G4Track::CalculateVelocityForOpticalPhoton().

Please, replace G4OpBoundaryProcess.cc in your 9.5 installation with the attached file. My hope is that this fix makes it into patch01 for 9.5.

Again, thank you for reporting this bug and my appologies. At your convenience, please confirm that your application runs correctly with this fix in 9.5.

Best regards, Peter

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2012/01/24/13.47-49695-G4OpBoundaryProcess.cc

 Add Message Add Message
to: "Re: Optical photons propagating at c instead of group velocity"

 Subscribe Subscribe

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