Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -93,8 +93,8 @@ class G4LogicalSurface
|
||||
|
||||
virtual ~G4LogicalSurface();
|
||||
|
||||
inline G4int operator==(const G4LogicalSurface &right) const;
|
||||
inline G4int operator!=(const G4LogicalSurface &right) const;
|
||||
inline G4bool operator==(const G4LogicalSurface &right) const;
|
||||
inline G4bool operator!=(const G4LogicalSurface &right) const;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
@@ -88,13 +88,13 @@ G4LogicalSurface::operator=(const G4LogicalSurface &right)
|
||||
return *this;
|
||||
}
|
||||
|
||||
inline G4int
|
||||
inline G4bool
|
||||
G4LogicalSurface::operator==(const G4LogicalSurface &right) const
|
||||
{
|
||||
return (this == (G4LogicalSurface *) &right);
|
||||
}
|
||||
|
||||
inline G4int
|
||||
inline G4bool
|
||||
G4LogicalSurface::operator!=(const G4LogicalSurface &right) const
|
||||
{
|
||||
return (this != (G4LogicalSurface *) &right);
|
||||
|
||||
@@ -110,11 +110,15 @@ class G4Region
|
||||
inline G4bool operator==(const G4Region& rg) const;
|
||||
// Equality defined by address only.
|
||||
|
||||
void AddRootLogicalVolume(G4LogicalVolume* lv);
|
||||
void AddRootLogicalVolume(G4LogicalVolume* lv, G4bool search=true);
|
||||
void RemoveRootLogicalVolume(G4LogicalVolume* lv, G4bool scan=true);
|
||||
// Add/remove root logical volumes and set/reset their
|
||||
// daughters flags as regions. They also recompute the
|
||||
// materials list for the region.
|
||||
// materials list for the region. Flag for scanning the subtree
|
||||
// always enabled by default. Search in the tree can be turned off
|
||||
// when adding, assuming the user guarantees the logical volume is
|
||||
// NOT already inserted, in which case significant speedup can be
|
||||
// achieved in very complex flat geometry setups.
|
||||
|
||||
inline void SetName(const G4String& name);
|
||||
inline const G4String& GetName() const;
|
||||
|
||||
Reference in New Issue
Block a user