Import Geant4 10.7.1 source tree

This commit is contained in:
Gabriele Cosmo
2021-02-05 15:10:05 +01:00
parent dab42d2018
commit 3dfcdb544e
281 changed files with 37738 additions and 47638 deletions
@@ -606,10 +606,10 @@ inline bool hatcher::compute_single_polyline (vec3f* tabPoints,unsigned int aNum
fNormal[2]*AB[0]-fNormal[0]*AB[2],
fNormal[0]*AB[1]-fNormal[1]*AB[0]);
float normAB =(float)sqrt(std::pow(AB[0],2)+
float normAB =(float)std::sqrt(std::pow(AB[0],2)+
std::pow(AB[1],2)+
std::pow(AB[2],2));
float normABPerpVector =(float)sqrt(std::pow(ABPerpVector[0],2)+
float normABPerpVector =(float)std::sqrt(std::pow(ABPerpVector[0],2)+
std::pow(ABPerpVector[1],2)+
std::pow(ABPerpVector[2],2));
@@ -643,7 +643,7 @@ inline bool hatcher::compute_single_polyline (vec3f* tabPoints,unsigned int aNum
// normalize vector to match the shift size
float param = 1.0f;
param = (float)sqrt((std::pow(fShift,2))/(
param = (float)std::sqrt((std::pow(fShift,2))/(
std::pow(dirShiftVector[0],2)+
std::pow(dirShiftVector[1],2)+
std::pow(dirShiftVector[2],2)));
@@ -140,8 +140,9 @@ public:
}
bool get_bin_content(bn_t a_ibin,bn_t a_jbin,
TN a_entries,TW a_Sw,TW a_Sw2,
TC a_Sxw,TC a_Sx2w,TC a_Syw,TC a_Sy2w) {
TN& a_entries,TW& a_Sw,TW& a_Sw2,
TC& a_Sxw,TC& a_Sx2w,
TC& a_Syw,TC& a_Sy2w) {
if(parent::m_dimension!=2) {
a_entries = 0;a_Sw = 0;a_Sw2 = 0;
a_Sxw = 0;a_Sx2w = 0;
@@ -163,8 +163,10 @@ public:
}
bool get_bin_content(bn_t a_ibin,bn_t a_jbin,bn_t a_kbin,
TN a_entries,TW a_Sw,TW a_Sw2,
TC a_Sxw,TC a_Sx2w,TC a_Syw,TC a_Sy2w,TC a_Szw,TC a_Sz2w) {
TN& a_entries,TW& a_Sw,TW& a_Sw2,
TC& a_Sxw,TC& a_Sx2w,
TC& a_Syw,TC& a_Sy2w,
TC& a_Szw,TC& a_Sz2w) {
if(parent::m_dimension!=3) {
a_entries = 0;a_Sw = 0;a_Sw2 = 0;
a_Sxw = 0;a_Sx2w = 0;
@@ -6,12 +6,12 @@
#define TOOLS_MAJOR_VERSION 5
#define TOOLS_MINOR_VERSION 2
#define TOOLS_PATCH_VERSION 1
#define TOOLS_VERSION "5.2.1"
#define TOOLS_VERSION_VRP "v5r2p1"
#define TOOLS_PATCH_VERSION 3
#define TOOLS_VERSION "5.2.3"
#define TOOLS_VERSION_VRP "v5r2p3"
namespace tools {
inline unsigned int version() {return 50201;}
inline unsigned int version() {return 50203;}
}
#endif
@@ -586,7 +586,7 @@ protected:
uint64 m_tot_bytes;
uint64 m_zip_bytes;
uint32 m_max_baskets;
uint32* fBasketBytes; //[m_max_baskets] Lenght of baskets on file
uint32* fBasketBytes; //[m_max_baskets] Length of baskets on file
uint32* fBasketEntry; //[m_max_baskets] Table of first entry in eack basket
seek* fBasketSeek; //[m_max_baskets] Addresses of baskets on file
};