- Timestamp:
- Feb 16, 2009, 10:14:30 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/navigation/include/G4PropagatorInField.icc
r850 r921 25 25 // 26 26 // 27 // $Id: G4PropagatorInField.icc,v 1.1 1 2008/05/28 09:12:05 tnikitinExp $28 // GEANT4 tag $Name: HEAD$27 // $Id: G4PropagatorInField.icc,v 1.13 2008/10/29 14:31:55 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-02-cand-01 $ 29 29 // 30 30 // … … 268 268 } 269 269 270 inline 271 void G4PropagatorInField::SetBrentMethod(G4bool newLocator) 272 { 273 fUseBrentLocator=newLocator; 274 } 275 inline 276 G4bool G4PropagatorInField::GetBrentMethod() 277 { 278 return fUseBrentLocator; 279 } 270 inline 271 void G4PropagatorInField:: 272 SetIntersectionLocator( G4VIntersectionLocator *pIntLoc ) 273 { 274 if(pIntLoc) { fIntersectionLocator= pIntLoc; } 275 } 276 277 inline 278 G4VIntersectionLocator* G4PropagatorInField::GetIntersectionLocator() 279 { 280 return fIntersectionLocator; 281 } 282 283 inline 284 G4bool G4PropagatorInField::IntersectChord( G4ThreeVector StartPointA, 285 G4ThreeVector EndPointB, 286 G4double &NewSafety, 287 G4double &LinearStepLength, 288 G4ThreeVector &IntersectionPoint ) 289 { 290 // Calculate the direction and length of the chord AB 291 // 292 return fIntersectionLocator 293 ->IntersectChord(StartPointA,EndPointB,NewSafety, 294 fPreviousSafety,fPreviousSftOrigin, 295 LinearStepLength,IntersectionPoint); 296 }
Note: See TracChangeset
for help on using the changeset viewer.