Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
+19 -18
View File
@@ -17,15 +17,16 @@
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration and of QinetiQ Ltd, *
// * subject DEFCON 705 IPR conditions. *
// * subject to DEFCON 705 IPR conditions. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4VFacet.cc,v 1.6 2007/08/23 14:45:03 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
// $Id: G4VFacet.cc,v 1.8 2008/12/18 12:57:38 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
//
@@ -95,8 +96,8 @@ G4bool G4VFacet::operator== (const G4VFacet &right) const
do
{
coincident = (GetVertex(i)-right.GetVertex(j)).mag2() < tolerance;
} while (!coincident && j++ < nVertices);
} while (coincident && i++ < nVertices);
} while (!coincident && ++j < nVertices);
} while (coincident && ++i < nVertices);
return coincident;
}
@@ -116,21 +117,21 @@ void G4VFacet::ApplyTranslation(const G4ThreeVector v)
//
std::ostream &G4VFacet::StreamInfo(std::ostream &os) const
{
os <<G4endl;
os <<"***********************************************************************"
<<G4endl;
os <<"FACET TYPE = " <<geometryType <<G4endl;
os <<"ABSOLUTE VECTORS = " <<G4endl;
os <<"P0 = " <<P0 <<G4endl;
os << G4endl;
os << "*********************************************************************"
<< G4endl;
os << "FACET TYPE = " << geometryType << G4endl;
os << "ABSOLUTE VECTORS = " << G4endl;
os << "P0 = " << P0 << G4endl;
for (G4ThreeVectorList::const_iterator it=P.begin(); it!=P.end(); it++)
os <<"P[" <<it-P.begin()+1 <<"] = " <<*it <<G4endl;
os <<"RELATIVE VECTORS = " <<G4endl;
{ os << "P[" << it-P.begin()+1 << "] = " << *it << G4endl; }
os << "RELATIVE VECTORS = " << G4endl;
for (G4ThreeVectorList::const_iterator it=E.begin(); it!=E.end(); it++)
os <<"E[" <<it-E.begin()+1 <<"] = " <<*it <<G4endl;
os <<"***********************************************************************"
<<G4endl;
{ os << "E[" << it-E.begin()+1 << "] = " << *it << G4endl; }
os << "*********************************************************************"
<< G4endl;
return os;
}