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

Warning Possible bug in G4LowEnergyIonization.cc??? 

Keywords: G4LowEnergyIonization Bug
Forum: Documentation and Examples
Date: 07 Oct, 2005
From: Dan Chivers <chivers3@llnl.gov>

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);
    }

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

1 None: Re: Possible bug in G4LowEnergyIonization.cc???   (Vladimir Ivantchenko - 10 Oct, 2005)
 Add Message Add Message
to: "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 ]