Geant4  10.00.p03
G4DataInterpolation Class Reference

#include <G4DataInterpolation.hh>

Public Member Functions

 G4DataInterpolation (G4double pX[], G4double pY[], G4int number)
 
 G4DataInterpolation (G4double pX[], G4double pY[], G4int number, G4double pFirstDerStart, G4double pFirstDerFinish)
 
 ~G4DataInterpolation ()
 
G4double PolynomInterpolation (G4double pX, G4double &deltaY) const
 
void PolIntCoefficient (G4double cof[]) const
 
G4double RationalPolInterpolation (G4double pX, G4double &deltaY) const
 
G4double CubicSplineInterpolation (G4double pX) const
 
G4double FastCubicSpline (G4double pX, G4int index) const
 
G4int LocateArgument (G4double pX) const
 
void CorrelatedSearch (G4double pX, G4int &index) const
 

Private Member Functions

 G4DataInterpolation (const G4DataInterpolation &)
 
G4DataInterpolationoperator= (const G4DataInterpolation &)
 

Private Attributes

G4doublefArgument
 
G4doublefFunction
 
G4doublefSecondDerivative
 
G4int fNumber
 

Detailed Description

Definition at line 116 of file G4DataInterpolation.hh.

Constructor & Destructor Documentation

G4DataInterpolation::G4DataInterpolation ( G4double  pX[],
G4double  pY[],
G4int  number 
)

Definition at line 36 of file G4DataInterpolation.cc.

References fArgument, fFunction, and fNumber.

G4DataInterpolation::G4DataInterpolation ( G4double  pX[],
G4double  pY[],
G4int  number,
G4double  pFirstDerStart,
G4double  pFirstDerFinish 
)

Definition at line 58 of file G4DataInterpolation.cc.

References fArgument, fFunction, fNumber, and fSecondDerivative.

G4DataInterpolation::~G4DataInterpolation ( )

Definition at line 133 of file G4DataInterpolation.cc.

References fArgument, fFunction, and fSecondDerivative.

G4DataInterpolation::G4DataInterpolation ( const G4DataInterpolation )
private

Member Function Documentation

void G4DataInterpolation::CorrelatedSearch ( G4double  pX,
G4int index 
) const

Definition at line 414 of file G4DataInterpolation.cc.

References fArgument, and fNumber.

G4double G4DataInterpolation::CubicSplineInterpolation ( G4double  pX) const

Definition at line 311 of file G4DataInterpolation.cc.

References a, fArgument, FatalException, fFunction, fNumber, fSecondDerivative, and G4Exception().

Referenced by G4SPSEneDistribution::GenArbPointEnergies(), and G4SPSEneDistribution::SplineInterpolation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4DataInterpolation::FastCubicSpline ( G4double  pX,
G4int  index 
) const

Definition at line 353 of file G4DataInterpolation.cc.

References a, fArgument, FatalException, fFunction, fSecondDerivative, and G4Exception().

+ Here is the call graph for this function:

G4int G4DataInterpolation::LocateArgument ( G4double  pX) const

Definition at line 378 of file G4DataInterpolation.cc.

References fArgument, and fNumber.

G4DataInterpolation& G4DataInterpolation::operator= ( const G4DataInterpolation )
private
void G4DataInterpolation::PolIntCoefficient ( G4double  cof[]) const

Definition at line 202 of file G4DataInterpolation.cc.

References fArgument, fFunction, and fNumber.

G4double G4DataInterpolation::PolynomInterpolation ( G4double  pX,
G4double deltaY 
) const

Definition at line 148 of file G4DataInterpolation.cc.

References cd, fArgument, FatalException, fFunction, fNumber, and G4Exception().

+ Here is the call graph for this function:

G4double G4DataInterpolation::RationalPolInterpolation ( G4double  pX,
G4double deltaY 
) const

Definition at line 249 of file G4DataInterpolation.cc.

References cd, fArgument, FatalException, fFunction, fNumber, and G4Exception().

+ Here is the call graph for this function:

Member Data Documentation

G4double* G4DataInterpolation::fSecondDerivative
private

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