Geant4-11
Public Member Functions | Protected Attributes
G4INCL::InterpolationNode Class Reference

Interpolation node. More...

#include <G4INCLInterpolationTable.hh>

Public Member Functions

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

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

◆ InterpolationNode()

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

◆ ~InterpolationNode()

virtual G4INCL::InterpolationNode::~InterpolationNode ( )
inlinevirtual

Definition at line 64 of file G4INCLInterpolationTable.hh.

64{}

Member Function Documentation

◆ getX()

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

Definition at line 82 of file G4INCLInterpolationTable.hh.

82{ return x; }

References x.

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

◆ getY()

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

Definition at line 83 of file G4INCLInterpolationTable.hh.

83{ return y; }

References y.

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

◆ getYPrime()

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

Definition at line 84 of file G4INCLInterpolationTable.hh.

84{ return yPrime; }

References yPrime.

◆ operator<()

G4bool G4INCL::InterpolationNode::operator< ( const InterpolationNode rhs) const
inline

Definition at line 66 of file G4INCLInterpolationTable.hh.

66 {
67 return (x < rhs.x);
68 }

References x.

◆ operator<=()

G4bool G4INCL::InterpolationNode::operator<= ( const InterpolationNode rhs) const
inline

Definition at line 70 of file G4INCLInterpolationTable.hh.

70 {
71 return (x <= rhs.x);
72 }

References x.

◆ operator>()

G4bool G4INCL::InterpolationNode::operator> ( const InterpolationNode rhs) const
inline

Definition at line 74 of file G4INCLInterpolationTable.hh.

74 {
75 return (x > rhs.x);
76 }

References x.

◆ operator>=()

G4bool G4INCL::InterpolationNode::operator>= ( const InterpolationNode rhs) const
inline

Definition at line 78 of file G4INCLInterpolationTable.hh.

78 {
79 return (x >= rhs.x);
80 }

References x.

◆ print()

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 }

References x, y, and yPrime.

◆ setX()

void G4INCL::InterpolationNode::setX ( const G4double  x0)
inline

Definition at line 86 of file G4INCLInterpolationTable.hh.

86{ x=x0; }

References x.

◆ setY()

void G4INCL::InterpolationNode::setY ( const G4double  y0)
inline

Definition at line 87 of file G4INCLInterpolationTable.hh.

87{ y=y0; }

References y.

◆ setYPrime()

void G4INCL::InterpolationNode::setYPrime ( const G4double  yPrime0)
inline

Definition at line 88 of file G4INCLInterpolationTable.hh.

88{ yPrime=yPrime0; }

References yPrime.

Field Documentation

◆ x

G4double G4INCL::InterpolationNode::x
protected

◆ y

G4double G4INCL::InterpolationNode::y
protected

function value

Definition at line 100 of file G4INCLInterpolationTable.hh.

Referenced by mcscore.MCVertex::dump_vertex(), getY(), print(), mcscore.MCVertex::printout(), and setY().

◆ yPrime

G4double G4INCL::InterpolationNode::yPrime
protected

function derivative

Definition at line 102 of file G4INCLInterpolationTable.hh.

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


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