Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -22,10 +22,10 @@
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
// Implementation for G4UTet wrapper class
//
// 1.11.13 G.Cosmo, CERN
// --------------------------------------------------------------------
#include "G4Tet.hh"
@@ -81,7 +81,7 @@ G4UTet::G4UTet(const G4String& pName,
G4double signed_vol=fV21.cross(fV31).dot(fV41);
G4bool degenerate=std::fabs(signed_vol) < 1e-9*fMaxSize*fMaxSize*fMaxSize;
if(degeneracyFlag) *degeneracyFlag=degenerate;
if(degeneracyFlag) *degeneracyFlag = degenerate;
else if (degenerate)
{
G4Exception("G4UTet::G4UTet()", "GeomSolids0002", FatalException,
@@ -246,7 +246,7 @@ G4Polyhedron* G4UTet::CreatePolyhedron() const
xyz[i][2] = vec[i].z();
}
G4Polyhedron *ph = new G4Polyhedron;
G4Polyhedron* ph = new G4Polyhedron;
ph->createPolyhedron(4,4,xyz,faces);
return ph;
}