Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 496678
Collapse All | Expand All

(-)geant4.10.00/source/geometry/navigation/include/G4TransportationManager.hh (-1 / +1 lines)
Lines 68-74 Link Here
68
       // Accessors for field handling
68
       // Accessors for field handling
69
69
70
     inline G4Navigator* GetNavigatorForTracking() const;
70
     inline G4Navigator* GetNavigatorForTracking() const;
71
     inline void SetNavigatorForTracking( G4Navigator* newNavigator );
71
     void SetNavigatorForTracking( G4Navigator* newNavigator );
72
       // Accessors for the navigator for tracking
72
       // Accessors for the navigator for tracking
73
73
74
     inline void SetWorldForTracking(G4VPhysicalVolume* theWorld);
74
     inline void SetWorldForTracking(G4VPhysicalVolume* theWorld);
(-)geant4.10.00/source/geometry/navigation/include/G4TransportationManager.icc (+2 lines)
Lines 59-64 Link Here
59
   fNavigators[0]->SetWorldVolume(theWorld);
59
   fNavigators[0]->SetWorldVolume(theWorld);
60
}
60
}
61
61
62
/*
62
// ----------------------------------------------------------------------------
63
// ----------------------------------------------------------------------------
63
// SetNavigatorForTracking()
64
// SetNavigatorForTracking()
64
//
65
//
Lines 70-75 Link Here
70
{
71
{
71
   fNavigators[0] = newNavigator;
72
   fNavigators[0] = newNavigator;
72
}
73
}
74
*/
73
75
74
// ----------------------------------------------------------------------------
76
// ----------------------------------------------------------------------------
75
// GetPropagatorInField()
77
// GetPropagatorInField()
(-)geant4.10.00/source/geometry/navigation/src/G4TransportationManager.cc (+14 lines)
Lines 124-129 Link Here
124
   }
124
   }
125
}
125
}
126
126
127
128
// ----------------------------------------------------------------------------
129
// SetNavigatorForTracking()
130
//
131
// Set the active navigator for tracking, always
132
// the first in the collection of registered navigators.
133
//
134
void G4TransportationManager::SetNavigatorForTracking(G4Navigator* newNavigator)
135
{
136
   fNavigators[0] = newNavigator;
137
   fActiveNavigators[0] = newNavigator;
138
   fPropagatorInField->SetNavigatorForPropagating(newNavigator);
139
}
140
127
// ----------------------------------------------------------------------------
141
// ----------------------------------------------------------------------------
128
// ClearNavigators()
142
// ClearNavigators()
129
//
143
//

Return to bug 496678