Message: Re: What is the correct way to create a G4Element consisting of a single G4Isotope? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: What is the correct way to create a G4Element consisting of a single G4Isotope? 

Forum: Geometry
Re: None Re: What is the correct way to create a G4Element consisting of a single G4Isotope? (Michael H. Kelsey)
Date: 30 Oct, 2018
From: Sergio Losilla <Sergio Losilla>

> Unfortunately, I'm not a chemist, and they're the ones who invented elements
> ;->

(Don't tell anyone, but once in my life I was a chemist...)

> I can guarantee that if N=A/(g/mol) is what's in the code, then any
> G4 code that _uses_ G4Element::GetN() will be expecting that value,

Perfect, question answered then!

> changing it would break much more than it "fixed" :-)

Yes, absolutely. I don't even want to imagine the horribly hard to detect bugs that would pop up when atomic weights change by a tiny fraction...

Thanks a lot for your clarifications and the discussion :-)

Cheers,

Sergio

 Add Message Add Message
to: "Re: What is the correct way to create a G4Element consisting of a single G4Isotope?"

 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 ]