34 #define INCLXX_IN_GEANT4_MODE 1
45 #ifndef G4INCLINTERPOLATIONTABLE_HH_
46 #define G4INCLINTERPOLATIONTABLE_HH_
92 message <<
"x, y, yPrime: " <<
x <<
'\t' <<
y <<
'\t' <<
yPrime <<
'\n';
119 std::string
print()
const;
128 std::vector<InterpolationNode>
nodes;
134 #endif // G4INCLINTERPOLATIONTABLE_HH_
virtual ~InterpolationTable()
unsigned int getNumberOfNodes() const
G4double operator()(const G4double x) const
Compute the value of the function.
G4bool operator<=(const InterpolationNode &rhs) const
G4double yPrime
function derivative
void setYPrime(const G4double yPrime0)
void message(RunManager *runmanager)
G4bool operator>=(const InterpolationNode &rhs) const
std::vector< G4double > getNodeValues() const
G4bool operator<(const InterpolationNode &rhs) const
InterpolationNode(const G4double x0, const G4double y0, const G4double yPrime0)
Functor for 1-dimensional mathematical functions.
std::vector< G4double > getNodeAbscissae() const
Class for interpolating the of a 1-dimensional function.
std::string print() const
void initDerivatives()
Initialise the values of the node derivatives.
void setY(const G4double y0)
void setX(const G4double x0)
std::string print() const
G4double getYPrime() const
virtual ~InterpolationNode()
std::vector< InterpolationNode > nodes
Interpolating nodes.
G4bool operator>(const InterpolationNode &rhs) const