Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
Classes | |
class | INuclearPotential |
class | NuclearPotentialConstant |
class | NuclearPotentialEnergyIsospin |
class | NuclearPotentialEnergyIsospinSmooth |
class | NuclearPotentialIsospin |
Functions | |
INuclearPotential const * | createPotential (const PotentialType type, const G4int theA, const G4int theZ, const G4bool pionPotential) |
Create an INuclearPotential object. | |
void | clearCache () |
Clear the INuclearPotential cache. | |
void G4INCL::NuclearPotential::clearCache | ( | ) |
Clear the INuclearPotential cache.
Definition at line 102 of file G4INCLINuclearPotential.cc.
Referenced by G4INCL::INCL::~INCL().
INuclearPotential const * G4INCL::NuclearPotential::createPotential | ( | const PotentialType | type, |
const G4int | theA, | ||
const G4int | theZ, | ||
const G4bool | pionPotential ) |
Create an INuclearPotential object.
This is the method that should be used to instantiate objects derived from INuclearPotential. It uses a caching mechanism to minimise thrashing and speed up the code.
type | the type of the potential to be created |
theA | mass number of the nucleus |
theZ | charge number of the nucleus |
pionPotential | whether pions should also feel the potential |
Definition at line 70 of file G4INCLINuclearPotential.cc.
Referenced by G4INCL::Nucleus::Nucleus().