|
Geant4-11
|
Namespaces | |
| namespace | anonymous_namespace{G4INCLINuclearPotential.cc} |
Data Structures | |
| class | INuclearPotential |
| class | NuclearPotentialConstant |
| class | NuclearPotentialEnergyIsospin |
| class | NuclearPotentialEnergyIsospinSmooth |
| class | NuclearPotentialIsospin |
Functions | |
| void | clearCache () |
| Clear the INuclearPotential cache. More... | |
| INuclearPotential const * | createPotential (const PotentialType type, const G4int theA, const G4int theZ, const G4bool pionPotential) |
| Create an INuclearPotential object. More... | |
| void G4INCL::NuclearPotential::clearCache | ( | ) |
Clear the INuclearPotential cache.
Definition at line 102 of file G4INCLINuclearPotential.cc.
References G4INCL::NuclearPotential::anonymous_namespace{G4INCLINuclearPotential.cc}::nuclearPotentialCache.
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.
References G4INCL::ConstantPotential, INCL_FATAL, G4INCL::IsospinEnergyPotential, G4INCL::IsospinEnergySmoothPotential, G4INCL::IsospinPotential, and G4INCL::NuclearPotential::anonymous_namespace{G4INCLINuclearPotential.cc}::nuclearPotentialCache.
Referenced by G4INCL::Nucleus::Nucleus().