Geant4
10.01.p02
|
#include <G4AdjointInterpolator.hh>
Static Public Member Functions | |
static G4AdjointInterpolator * | GetAdjointInterpolator () |
static G4AdjointInterpolator * | GetInstance () |
Private Member Functions | |
G4AdjointInterpolator () | |
Static Private Attributes | |
static G4ThreadLocal G4AdjointInterpolator * | theInstance = 0 |
Definition at line 53 of file G4AdjointInterpolator.hh.
G4AdjointInterpolator::~G4AdjointInterpolator | ( | ) |
Definition at line 58 of file G4AdjointInterpolator.cc.
|
private |
Definition at line 52 of file G4AdjointInterpolator.cc.
Referenced by GetInstance().
G4double G4AdjointInterpolator::ExponentialInterpolation | ( | G4double & | x, |
G4double & | x1, | ||
G4double & | x2, | ||
G4double & | y1, | ||
G4double & | y2 | ||
) |
Definition at line 86 of file G4AdjointInterpolator.cc.
References A.
Referenced by Interpolation().
size_t G4AdjointInterpolator::FindPosition | ( | G4double & | x, |
std::vector< G4double > & | x_vec, | ||
size_t | ind_min = 0 , |
||
size_t | ind_max = 0 |
||
) |
Definition at line 116 of file G4AdjointInterpolator.cc.
Referenced by G4AdjointCSMatrix::AddData(), FindPositionForLogVector(), Interpolate(), and InterpolateWithIndexVector().
size_t G4AdjointInterpolator::FindPositionForLogVector | ( | G4double & | x, |
std::vector< G4double > & | x_vec | ||
) |
Definition at line 162 of file G4AdjointInterpolator.cc.
References FindPosition().
Referenced by G4AdjointCSManager::ComputeAdjointCS(), InterpolateForLogVector(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().
|
static |
Definition at line 34 of file G4AdjointInterpolator.cc.
References GetInstance().
|
static |
Definition at line 41 of file G4AdjointInterpolator.cc.
References G4AdjointInterpolator(), and theInstance.
Referenced by G4AdjointCSMatrix::AddData(), G4AdjointCSManager::ComputeAdjointCS(), GetAdjointInterpolator(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().
G4double G4AdjointInterpolator::Interpolate | ( | G4double & | x, |
std::vector< G4double > & | x_vec, | ||
std::vector< G4double > & | y_vec, | ||
G4String | InterPolMethod = "Log" |
||
) |
Definition at line 187 of file G4AdjointInterpolator.cc.
References FindPosition(), and Interpolation().
Referenced by G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().
G4double G4AdjointInterpolator::InterpolateForLogVector | ( | G4double & | x, |
std::vector< G4double > & | x_vec, | ||
std::vector< G4double > & | y_vec | ||
) |
Definition at line 218 of file G4AdjointInterpolator.cc.
References FindPositionForLogVector(), and LinearInterpolation().
Referenced by G4AdjointCSManager::ComputeAdjointCS(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().
G4double G4AdjointInterpolator::InterpolateWithIndexVector | ( | G4double & | x, |
std::vector< G4double > & | x_vec, | ||
std::vector< G4double > & | y_vec, | ||
std::vector< size_t > & | index_vec, | ||
G4double | x0, | ||
G4double | dx | ||
) |
Definition at line 198 of file G4AdjointInterpolator.cc.
References FindPosition(), and Interpolation().
G4double G4AdjointInterpolator::Interpolation | ( | G4double & | x, |
G4double & | x1, | ||
G4double & | x2, | ||
G4double & | y1, | ||
G4double & | y2, | ||
G4String | InterPolMethod = "Log" |
||
) |
Definition at line 97 of file G4AdjointInterpolator.cc.
References ExponentialInterpolation(), LinearInterpolation(), and LogarithmicInterpolation().
Referenced by Interpolate(), and InterpolateWithIndexVector().
G4double G4AdjointInterpolator::LinearInterpolation | ( | G4double & | x, |
G4double & | x1, | ||
G4double & | x2, | ||
G4double & | y1, | ||
G4double & | y2 | ||
) |
Definition at line 64 of file G4AdjointInterpolator.cc.
Referenced by G4AdjointCSManager::ComputeAdjointCS(), InterpolateForLogVector(), Interpolation(), LogarithmicInterpolation(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().
G4double G4AdjointInterpolator::LogarithmicInterpolation | ( | G4double & | x, |
G4double & | x1, | ||
G4double & | x2, | ||
G4double & | y1, | ||
G4double & | y2 | ||
) |
Definition at line 73 of file G4AdjointInterpolator.cc.
References A, and LinearInterpolation().
Referenced by Interpolation().
|
staticprivate |
Definition at line 94 of file G4AdjointInterpolator.hh.
Referenced by GetInstance().