Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes
G4INCL::InterpolationNode Class Reference

Interpolation node. More...

#include <G4INCLInverseInterpolationTable.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 58 of file G4INCLInverseInterpolationTable.hh.

Constructor & Destructor Documentation

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

Definition at line 60 of file G4INCLInverseInterpolationTable.hh.

60  :
61  x(x0),
62  y(y0),
63  yPrime(yPrime0)
64  {}
virtual G4INCL::InterpolationNode::~InterpolationNode ( )
inlinevirtual

Definition at line 66 of file G4INCLInverseInterpolationTable.hh.

66 {}

Member Function Documentation

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

Definition at line 84 of file G4INCLInverseInterpolationTable.hh.

References x.

Referenced by G4INCL::InverseInterpolationTable::getNodeAbscissae().

84 { return x; }
G4double G4INCL::InterpolationNode::getY ( ) const
inline

Definition at line 85 of file G4INCLInverseInterpolationTable.hh.

References y.

Referenced by G4INCL::InverseInterpolationTable::getNodeValues().

85 { return y; }
G4double G4INCL::InterpolationNode::getYPrime ( ) const
inline

Definition at line 86 of file G4INCLInverseInterpolationTable.hh.

References yPrime.

86 { return yPrime; }
G4bool G4INCL::InterpolationNode::operator< ( const InterpolationNode rhs) const
inline

Definition at line 68 of file G4INCLInverseInterpolationTable.hh.

References x.

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

Definition at line 72 of file G4INCLInverseInterpolationTable.hh.

References x.

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

Definition at line 76 of file G4INCLInverseInterpolationTable.hh.

References x.

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

Definition at line 80 of file G4INCLInverseInterpolationTable.hh.

References x.

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

Definition at line 92 of file G4INCLInverseInterpolationTable.hh.

References x, y, and yPrime.

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

Definition at line 88 of file G4INCLInverseInterpolationTable.hh.

References x.

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

Definition at line 89 of file G4INCLInverseInterpolationTable.hh.

References y.

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

Definition at line 90 of file G4INCLInverseInterpolationTable.hh.

References yPrime.

90 { yPrime=yPrime0; }

Field Documentation

G4double G4INCL::InterpolationNode::x
protected

abscissa

Definition at line 100 of file G4INCLInverseInterpolationTable.hh.

Referenced by getX(), operator<(), operator<=(), operator>(), operator>=(), print(), and setX().

G4double G4INCL::InterpolationNode::y
protected

function value

Definition at line 102 of file G4INCLInverseInterpolationTable.hh.

Referenced by getY(), print(), and setY().

G4double G4INCL::InterpolationNode::yPrime
protected

function derivative

Definition at line 104 of file G4INCLInverseInterpolationTable.hh.

Referenced by getYPrime(), print(), and setYPrime().


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