#include <G4INCLNuclearPotentialConstant.hh>
◆ NuclearPotentialConstant()
◆ ~NuclearPotentialConstant()
G4INCL::NuclearPotential::NuclearPotentialConstant::~NuclearPotentialConstant |
( |
| ) |
|
|
virtual |
◆ computePotentialEnergy()
Implements G4INCL::NuclearPotential::INuclearPotential.
Definition at line 104 of file G4INCLNuclearPotentialConstant.cc.
104 {
105
106 switch( particle->getType() )
107 {
110 return vNucleon;
111 break;
112
117 break;
118
123 return vDelta;
124 break;
126 ERROR(
"Trying to compute potential energy of an unknown particle.");
127 return 0.0;
128 break;
129 default:
130 ERROR(
"Trying to compute potential energy of a malformed particle.");
131 return 0.0;
132 break;
133 }
134 }
G4double computePionPotentialEnergy(const Particle *const p) const
Compute the potential energy for the given pion.
◆ getDeltaPotential()
G4double G4INCL::NuclearPotential::NuclearPotentialConstant::getDeltaPotential |
( |
| ) |
const |
|
inline |
◆ getNucleonPotential()
G4double G4INCL::NuclearPotential::NuclearPotentialConstant::getNucleonPotential |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: