Message: Re: a question about the source code in G4PSSphereSurfaceFlux.cc Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: a question about the source code in G4PSSphereSurfaceFlux.cc 

Forum: Biasing and Scoring
Re: None a question about the source code in G4PSSphereSurfaceFlux.cc (Fada Guan)
Date: 18 Apr, 2011
From: Tsukasa Aso <Tsukasa Aso>

Hi,

 We had already identified the bug, but the fixes had not been involved
in the latest patch. 
 The same bus are found in G4PSCylinderSurfaceFlux.cc as well as
G4PSSphereSurfaceFlux.cc.

 It should be,

      G4StepPoint* thisStep=0;
      if ( dirFlag == fFlux_In ){
        thisStep = preStep;
      }else if ( dirFlag == fFlux_Out ){
        thisStep = aStep->GetPostStepPoint();
      }else{
        return FALSE;
      }

 Thanks,
 Tsukasa Aso

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

1 None: Re: a question about the source code in G4PSSphereSurfaceFlux.cc   (Fada Guan - 18 Apr, 2011)
 Add Message Add Message
to: "Re: a question about the source code in G4PSSphereSurfaceFlux.cc"

 Subscribe Subscribe

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