45 #ifndef G4AdjointInterpolator_h
46 #define G4AdjointInterpolator_h 1
81 size_t FindPosition(
G4double& x,std::vector<G4double>& x_vec,
size_t ind_min=0,
size_t ind_max=0);
G4double InterpolateWithIndexVector(G4double &x, std::vector< G4double > &x_vec, std::vector< G4double > &y_vec, std::vector< size_t > &index_vec, G4double x0, G4double dx)
G4double LogarithmicInterpolation(G4double &x, G4double &x1, G4double &x2, G4double &y1, G4double &y2)
G4double Interpolation(G4double &x, G4double &x1, G4double &x2, G4double &y1, G4double &y2, G4String InterPolMethod="Log")
G4double InterpolateForLogVector(G4double &x, std::vector< G4double > &x_vec, std::vector< G4double > &y_vec)
G4double Interpolate(G4double &x, std::vector< G4double > &x_vec, std::vector< G4double > &y_vec, G4String InterPolMethod="Log")
static G4ThreadLocal G4AdjointInterpolator * theInstance
static G4AdjointInterpolator * GetAdjointInterpolator()
size_t FindPositionForLogVector(G4double &x, std::vector< G4double > &x_vec)
size_t FindPosition(G4double &x, std::vector< G4double > &x_vec, size_t ind_min=0, size_t ind_max=0)
G4double LinearInterpolation(G4double &x, G4double &x1, G4double &x2, G4double &y1, G4double &y2)
const G4double x[NPOINTSGL]
static G4AdjointInterpolator * GetInstance()
G4double ExponentialInterpolation(G4double &x, G4double &x1, G4double &x2, G4double &y1, G4double &y2)