Message: Re: Possible bug in G4LowEnergyIonization.cc??? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Possible bug in G4LowEnergyIonization.cc??? 

Forum: Documentation and Examples
Re: Warning Possible bug in G4LowEnergyIonization.cc??? (Dan Chivers)
Date: 10 Oct, 2005
From: Vladimir Ivantchenko <vnivanch@mail.cern.ch>

On Fri, 7 Oct 2005, Dan Chivers wrote:

> *** Discussion title: Documentation and Examples
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/docsexamples/203"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> The VC Compiler gives a warning on line 836 and I noticed that the " +
> BlochTerm(...)" does not have any effect on the fBarkas variable here.
> Is this correct, or is there an extra semi-colon inserted?
> 
> G4hLowEnergyIonisation.cc (834-837)
> if(theBarkas && tscaled > highEnergy) { 
>         fBarkas = -BarkasTerm(material,tscaled)*std::sqrt(chargeSquare)*chargeSquare;
>                 + BlochTerm(material,tscaled,chargeSquare);
>     }
> 
> 

Yes, you are`right. This typo was recently fixed and will be available in 
the coming releases/patches.

VI

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

 Add Message Add Message
to: "Re: Possible bug in G4LowEnergyIonization.cc???"

 Subscribe Subscribe

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


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]