Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4INCL::InterpolationNode Class Reference

Interpolation node. More...

#include <G4INCLInterpolationTable.hh>

Public Member Functions

 InterpolationNode (const G4double x0, const G4double y0, const G4double yPrime0)
 
virtual ~InterpolationNode ()
 
G4bool operator< (const InterpolationNode &rhs) const
 
G4bool operator<= (const InterpolationNode &rhs) const
 
G4bool operator> (const InterpolationNode &rhs) const
 
G4bool operator>= (const InterpolationNode &rhs) const
 
G4double getX () const
 
G4double getY () const
 
G4double getYPrime () const
 
void setX (const G4double x0)
 
void setY (const G4double y0)
 
void setYPrime (const G4double yPrime0)
 
std::string print () const
 

Protected Attributes

G4double x
 abscissa More...
 
G4double y
 function value More...
 
G4double yPrime
 function derivative More...
 

Detailed Description

Interpolation node.

Definition at line 56 of file G4INCLInterpolationTable.hh.

Constructor & Destructor Documentation

G4INCL::InterpolationNode::InterpolationNode ( const G4double  x0,
const G4double  y0,
const G4double  yPrime0 
)
inline

Definition at line 58 of file G4INCLInterpolationTable.hh.

58  :
59  x(x0),
60  y(y0),
61  yPrime(yPrime0)
62  {}
G4double yPrime
function derivative
virtual G4INCL::InterpolationNode::~InterpolationNode ( )
inlinevirtual

Definition at line 64 of file G4INCLInterpolationTable.hh.

64 {}

Member Function Documentation

G4double G4INCL::InterpolationNode::getX ( ) const
inline

Definition at line 82 of file G4INCLInterpolationTable.hh.

82 { return x; }

Here is the caller graph for this function:

G4double G4INCL::InterpolationNode::getY ( ) const
inline

Definition at line 83 of file G4INCLInterpolationTable.hh.

83 { return y; }

Here is the caller graph for this function:

G4double G4INCL::InterpolationNode::getYPrime ( ) const
inline

Definition at line 84 of file G4INCLInterpolationTable.hh.

84 { return yPrime; }
G4double yPrime
function derivative
G4bool G4INCL::InterpolationNode::operator< ( const InterpolationNode rhs) const
inline

Definition at line 66 of file G4INCLInterpolationTable.hh.

66  {
67  return (x < rhs.x);
68  }
G4bool G4INCL::InterpolationNode::operator<= ( const InterpolationNode rhs) const
inline

Definition at line 70 of file G4INCLInterpolationTable.hh.

70  {
71  return (x <= rhs.x);
72  }
G4bool G4INCL::InterpolationNode::operator> ( const InterpolationNode rhs) const
inline

Definition at line 74 of file G4INCLInterpolationTable.hh.

74  {
75  return (x > rhs.x);
76  }
G4bool G4INCL::InterpolationNode::operator>= ( const InterpolationNode rhs) const
inline

Definition at line 78 of file G4INCLInterpolationTable.hh.

78  {
79  return (x >= rhs.x);
80  }
std::string G4INCL::InterpolationNode::print ( ) const
inline

Definition at line 90 of file G4INCLInterpolationTable.hh.

90  {
91  std::stringstream message;
92  message << "x, y, yPrime: " << x << '\t' << y << '\t' << yPrime << '\n';
93  return message.str();
94  }
G4double yPrime
function derivative
void G4INCL::InterpolationNode::setX ( const G4double  x0)
inline

Definition at line 86 of file G4INCLInterpolationTable.hh.

86 { x=x0; }
void G4INCL::InterpolationNode::setY ( const G4double  y0)
inline

Definition at line 87 of file G4INCLInterpolationTable.hh.

87 { y=y0; }
void G4INCL::InterpolationNode::setYPrime ( const G4double  yPrime0)
inline

Definition at line 88 of file G4INCLInterpolationTable.hh.

88 { yPrime=yPrime0; }
G4double yPrime
function derivative

Member Data Documentation

G4double G4INCL::InterpolationNode::x
protected

abscissa

Definition at line 98 of file G4INCLInterpolationTable.hh.

G4double G4INCL::InterpolationNode::y
protected

function value

Definition at line 100 of file G4INCLInterpolationTable.hh.

G4double G4INCL::InterpolationNode::yPrime
protected

function derivative

Definition at line 102 of file G4INCLInterpolationTable.hh.


The documentation for this class was generated from the following file: