Import Geant4 11.2.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2023-06-30 09:09:57 +02:00
parent aef78ca386
commit dd1f179cda
3780 changed files with 212808 additions and 142780 deletions
@@ -38,7 +38,7 @@ inline G4TwoVector G4ExtrudedSolid::GetVertex(G4int index) const
{
G4Exception ("G4ExtrudedSolid::GetVertex()", "GeomSolids0003",
FatalException, "Index outside range.");
return G4TwoVector();
return {};
}
return fPolygon[index];
}
@@ -76,7 +76,7 @@ std::vector<G4ExtrudedSolid::ZSection> G4ExtrudedSolid::GetZSections() const
inline
G4bool G4ExtrudedSolid::PointInPolygon(const G4ThreeVector& p) const
{
G4bool in = 0;
G4bool in = false;
G4int icur = (fPolygon[fNv-1].y() > p.y()), iprev = 0;
for (std::size_t i = 0; i < fNv; ++i)
{