Geant4
10.02.p02
|
#include <G4AdjointCSMatrix.hh>
Public Member Functions | |
G4AdjointCSMatrix (G4bool aBool) | |
~G4AdjointCSMatrix () | |
void | Clear () |
void | AddData (G4double aPrimEnergy, G4double aCS, std::vector< double > *aLogSecondEnergyVector, std::vector< double > *aLogProbVector, size_t n_pro_decade=0) |
G4bool | GetData (unsigned int i, G4double &aPrimEnergy, G4double &aCS, G4double &log0, std::vector< double > *&aLogSecondEnergyVector, std::vector< double > *&aLogProbVector, std::vector< size_t > *&aLogProbVectorIndex) |
std::vector< double > * | GetLogPrimEnergyVector () |
std::vector< double > * | GetLogCrossSectionvector () |
G4double | GetDlog () |
G4bool | IsScatProjToProjCase () |
void | Write (G4String file_name) |
void | Read (G4String file_name) |
Private Attributes | |
std::vector< double > | theLogPrimEnergyVector |
std::vector< double > | theLogCrossSectionVector |
std::vector< std::vector < double > * > | theLogSecondEnergyMatrix |
std::vector< std::vector < double > * > | theLogProbMatrix |
std::vector< std::vector < size_t > * > | theLogProbMatrixIndex |
std::vector< double > | log0Vector |
unsigned int | nb_of_PrimEnergy |
G4bool | is_scat_proj_to_proj_case |
G4double | dlog |
Definition at line 60 of file G4AdjointCSMatrix.hh.
G4AdjointCSMatrix::G4AdjointCSMatrix | ( | G4bool | aBool | ) |
Definition at line 38 of file G4AdjointCSMatrix.cc.
References dlog, is_scat_proj_to_proj_case, log0Vector, nb_of_PrimEnergy, theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, theLogProbMatrixIndex, and theLogSecondEnergyMatrix.
G4AdjointCSMatrix::~G4AdjointCSMatrix | ( | ) |
Definition at line 51 of file G4AdjointCSMatrix.cc.
References theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, and theLogSecondEnergyMatrix.
void G4AdjointCSMatrix::AddData | ( | G4double | aPrimEnergy, |
G4double | aCS, | ||
std::vector< double > * | aLogSecondEnergyVector, | ||
std::vector< double > * | aLogProbVector, | ||
size_t | n_pro_decade = 0 |
||
) |
Definition at line 71 of file G4AdjointCSMatrix.cc.
References dlog, G4AdjointInterpolator::FindPosition(), G4AdjointInterpolator::GetInstance(), log0Vector, G4INCL::Math::min(), nb_of_PrimEnergy, theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, theLogProbMatrixIndex, and theLogSecondEnergyMatrix.
Referenced by G4AdjointCSManager::BuildCrossSectionsMatricesForAGivenModelAndElement(), and G4AdjointCSManager::BuildCrossSectionsMatricesForAGivenModelAndMaterial().
void G4AdjointCSMatrix::Clear | ( | ) |
Definition at line 59 of file G4AdjointCSMatrix.cc.
References log0Vector, nb_of_PrimEnergy, theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, theLogProbMatrixIndex, and theLogSecondEnergyMatrix.
G4bool G4AdjointCSMatrix::GetData | ( | unsigned int | i, |
G4double & | aPrimEnergy, | ||
G4double & | aCS, | ||
G4double & | log0, | ||
std::vector< double > *& | aLogSecondEnergyVector, | ||
std::vector< double > *& | aLogProbVector, | ||
std::vector< size_t > *& | aLogProbVectorIndex | ||
) |
Definition at line 109 of file G4AdjointCSMatrix.cc.
References log0Vector, nb_of_PrimEnergy, theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, theLogProbMatrixIndex, and theLogSecondEnergyMatrix.
Referenced by G4AdjointCSManager::ComputeAdjointCS(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().
|
inline |
Definition at line 82 of file G4AdjointCSMatrix.hh.
References dlog.
|
inline |
Definition at line 81 of file G4AdjointCSMatrix.hh.
References theLogCrossSectionVector.
|
inline |
Definition at line 80 of file G4AdjointCSMatrix.hh.
References theLogPrimEnergyVector.
Referenced by G4AdjointCSManager::ComputeAdjointCS(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().
|
inline |
Definition at line 83 of file G4AdjointCSMatrix.hh.
References is_scat_proj_to_proj_case.
Referenced by G4AdjointCSManager::ComputeAdjointCS(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().
void G4AdjointCSMatrix::Read | ( | G4String | file_name | ) |
Definition at line 162 of file G4AdjointCSMatrix.cc.
References theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, and theLogSecondEnergyMatrix.
void G4AdjointCSMatrix::Write | ( | G4String | file_name | ) |
Definition at line 124 of file G4AdjointCSMatrix.cc.
References G4endl, MeV, theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, and theLogSecondEnergyMatrix.
|
private |
Definition at line 101 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), G4AdjointCSMatrix(), and GetDlog().
|
private |
Definition at line 100 of file G4AdjointCSMatrix.hh.
Referenced by G4AdjointCSMatrix(), and IsScatProjToProjCase().
|
private |
Definition at line 97 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), G4AdjointCSMatrix(), and GetData().
|
private |
Definition at line 99 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), G4AdjointCSMatrix(), and GetData().
|
private |
Definition at line 92 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), G4AdjointCSMatrix(), GetData(), GetLogCrossSectionvector(), Read(), Write(), and ~G4AdjointCSMatrix().
|
private |
Definition at line 91 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), G4AdjointCSMatrix(), GetData(), GetLogPrimEnergyVector(), Read(), Write(), and ~G4AdjointCSMatrix().
|
private |
Definition at line 94 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), G4AdjointCSMatrix(), GetData(), Read(), Write(), and ~G4AdjointCSMatrix().
|
private |
Definition at line 96 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), G4AdjointCSMatrix(), and GetData().
|
private |
Definition at line 93 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), G4AdjointCSMatrix(), GetData(), Read(), Write(), and ~G4AdjointCSMatrix().