Changeset 1347 for trunk/source/geometry/navigation/src/G4BrentLocator.cc
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/navigation/src/G4BrentLocator.cc
r1337 r1347 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BrentLocator.cc,v 1. 8 2009/05/15 12:55:48 tnikitinExp $27 // GEANT4 tag $Name: geant4-09-04- beta-01$26 // $Id: G4BrentLocator.cc,v 1.9 2010/07/13 15:59:42 gcosmo Exp $ 27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // Class G4BrentLocator implementation … … 142 142 G4bool restoredFullEndpoint = false; 143 143 144 G4int oldprc; // cout, cerr precision 144 145 G4int substep_no = 0; 145 146 … … 505 506 << GetEpsilonStepFor() << G4endl; 506 507 } 507 G4cerr.precision(20);508 oldprc = G4cerr.precision(20); 508 509 G4cerr << " Point A (Curve start) is " << CurveStartPointVelocity 509 510 << G4endl; … … 529 530 << GetEpsilonStepFor() <<" DeltaInters= " 530 531 << GetDeltaIntersectionFor() << G4endl; 532 G4cerr.precision( oldprc ); 531 533 532 534 G4Exception("G4BrentLocator::EstimateIntersectionPoint()", … … 728 730 -1.0, NewSafety, substep_no); 729 731 G4cout << G4endl; 730 G4cout.precision( 10 );732 oldprc = G4cout.precision( 10 ); 731 733 G4double done_len = CurrentA_PointVelocity.GetCurveLength(); 732 734 G4double full_len = CurveEndPointVelocity.GetCurveLength(); … … 736 738 << " out of " << full_len << " required." << G4endl; 737 739 G4cout << " Remaining length = " << full_len - done_len << G4endl; 740 G4cout.precision( oldprc ); 738 741 739 742 G4Exception("G4BrentLocator::EstimateIntersectionPoint()", … … 743 746 else if( substep_no >= warn_substeps ) 744 747 { 745 G4intoldprc= G4cout.precision( 10 );748 oldprc= G4cout.precision( 10 ); 746 749 G4cout << "WARNING - G4BrentLocator::EstimateIntersectionPoint()" 747 750 << G4endl
Note: See TracChangeset
for help on using the changeset viewer.