Message: Re: strange results for polished reflector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: strange results for polished reflector 

Forum: Processes Involving Optical Photons
Re: Question strange results for polished reflector (Yuri Soloviev)
Re: Feedback Re: strange results for polished reflector (Gumplinger Peter)
Re: None Re: strange results for polished reflector (Yuri Soloviev)
Date: 18 May, 2010
From: Gumplinger Peter <Gumplinger Peter>

Dear Yuri,

You found a bug in the code. In G4OpBoundaryProcess it reads:

          if ( theFinish == ground || theFinish == groundbackpainted ) {
               theFacetNormal =
                            GetFacetNormal(OldMomentum,theGlobalNormal);
          }
          else {
               theFacetNormal = theGlobalNormal;
          }

Instead, it should read:

          if ( theFinish == polished ) {
             theFacetNormal = theGlobalNormal;
          }
          else {
               theFacetNormal =
                            GetFacetNormal(OldMomentum,theGlobalNormal);
          }

Also, please make this change starting from the version that is a fix addressing this recent bug report:

http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1114

Both of these bug fixes will be part of patch02 of Geant4.9.3

Best regards, Peter

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

1 Ok: Re: strange results for polished reflector   (Yuri Soloviev - 20 May, 2010)
 Add Message Add Message
to: "Re: strange results for polished reflector"

 Subscribe Subscribe

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