Import Geant4 10.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2017-12-08 12:52:30 +01:00
parent 98e455a940
commit fc6af9e721
2166 changed files with 276760 additions and 100873 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4VTwistedFaceted.cc 104316 2017-05-24 13:04:23Z gcosmo $
// $Id: G4VTwistedFaceted.cc 105776 2017-08-17 08:09:09Z gcosmo $
//
//
// --------------------------------------------------------------------
@@ -1152,7 +1152,8 @@ G4Polyhedron* G4VTwistedFaceted::CreatePolyhedron () const
{
// number of meshes
const G4int k =
G4int(G4Polyhedron::GetNumberOfRotationSteps() * fPhiTwist / twopi) + 2;
G4int(G4Polyhedron::GetNumberOfRotationSteps() *
std::abs(fPhiTwist) / twopi) + 2;
const G4int n = k;
const G4int nnodes = 4*(k-1)*(n-2) + 2*k*k ;