Ignore:
Timestamp:
Jan 11, 2010, 3:22:34 PM (14 years ago)
Author:
garnier
Message:

update from CVS

Location:
trunk/source/geometry/magneticfield/test
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/geometry/magneticfield/test/NTST/src/NTSTDetectorConstruction.cc

    r1199 r1231  
    5353#include "G4RKG3_Stepper.hh"
    5454#include "G4HelixMixedStepper.hh"
     55#include "G4NystromRK4.hh"
    5556
    5657#include "G4DELPHIMagField.hh"
     
    210211  pEquation = new G4Mag_UsualEqRhs( &field);
    211212 
    212   // pStepper =
    213   //           new G4ClassicalRK4( pEquation );
    214   //           new G4RKG3_Stepper( fEquation );  // Nystrom, like Geant3
    215   // pStepper= new G4SimpleRunge( pEquation );
    216   // pStepper= new G4CashKarpRKF45( pEquation );
    217   pStepper= new G4HelixMixedStepper( pEquation );
     213  // pStepper =  
     214  //           new G4ClassicalRK4( pEquation ); G4cout << "Stepper is " << "ClassicalRK4" << G4endl;
     215  //           new G4RKG3_Stepper( pEquation );  // Nystrom, like Geant3
     216  // pStepper= new G4SimpleRunge( pEquation ); G4cout << "Stepper is " << "CashKarpRKF45" << G4endl;
     217  // pStepper= new G4CashKarpRKF45( pEquation ); G4cout << "Stepper is " << "CashKarpRKF45" << G4endl;
     218  // pStepper= new G4HelixMixedStepper( pEquation ); G4cout << "Stepper is " << "HelixMixed" << G4endl;
    218219  // pStepper=  StepperFactory::CreateStepper( order );
    219220
    220   G4cout << "Stepper is "
    221     //   << "CashKarpRKF45" << G4endl;
     221  pStepper= new G4NystromRK4( pEquation ); G4cout << "Stepper is " << "NystromRK4" << G4endl;
     222
     223    // G4cout << "Stepper is " << "CashKarpRKF45" << G4endl;
    222224    //   << "ClassicalRK4" << G4endl;
    223         << " G4HelixMixedStepper " << G4endl;
     225    //  << " G4HelixMixedStepper " << G4endl;
    224226
    225227  // globalFieldManager->CreateChordFinder( (G4MagneticField *)&field );
  • trunk/source/geometry/magneticfield/test/OtherFields/testDelphiField.cc

    r1199 r1231  
    2626//
    2727// $Id: testDelphiField.cc,v 1.7 2006/06/29 18:26:40 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030// 
  • trunk/source/geometry/magneticfield/test/OtherFields/testHarmonicPolMagField.cc

    r1199 r1231  
    2626//
    2727// $Id: testHarmonicPolMagField.cc,v 1.7 2006/06/29 18:26:43 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030// 
  • trunk/source/geometry/magneticfield/test/field02/field02.cc

    r1199 r1231  
    2626//
    2727// $Id: field02.cc,v 1.2 2006/06/29 18:27:02 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/geometry/magneticfield/test/field03/field03.cc

    r1199 r1231  
    2626//
    2727// $Id: field03.cc,v 1.2 2006/06/29 18:28:57 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/geometry/magneticfield/test/field06/exampleS5.cc

    r1199 r1231  
    2626//
    2727// $Id: exampleS5.cc,v 1.2 2007/05/02 14:59:26 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/geometry/magneticfield/test/testProElectroMagField.cc

    r1199 r1231  
    2626//
    2727// $Id: testProElectroMagField.cc,v 1.16 2006/06/29 18:25:00 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02-cand-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030// 
  • trunk/source/geometry/magneticfield/test/testProPerpSpin.cc

    r1199 r1231  
    2626//
    2727// $Id: testProPerpSpin.cc,v 1.17 2006/06/29 18:25:02 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02-cand-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030// 
  • trunk/source/geometry/magneticfield/test/testPropagateMagField.cc

    r1199 r1231  
    2525//
    2626//
    27 // $Id: testPropagateMagField.cc,v 1.32 2007/07/06 14:16:47 japost Exp $
    28 // GEANT4 tag $Name: geant4-09-02-cand-01 $
     27// $Id: testPropagateMagField.cc,v 1.33 2009/11/05 13:18:05 japost Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030// 
     
    5353#include "G4RotationMatrix.hh"
    5454#include "G4ThreeVector.hh"
    55 
    56 #include "G4UniformMagField.hh"
    5755
    5856#include "G4ios.hh"
     
    222220    return worldPhys;
    223221}
     222
     223#include "G4UniformMagField.hh"
     224#include "G4QuadrupoleMagField.hh"
     225#include "G4CachedMagneticField.hh"
    224226
    225227#include "G4ChordFinder.hh"
     
    240242#include "G4CashKarpRKF45.hh"
    241243#include "G4RKG3_Stepper.hh"
     244#include "G4ConstRK4.hh"
     245#include "G4NystromRK4.hh"
    242246#include "G4HelixMixedStepper.hh"
    243247
    244 G4UniformMagField myMagField(10.*tesla, 0., 0.);
    245 
     248G4UniformMagField      uniformMagField(10.*tesla, 0., 0.);
     249G4QuadrupoleMagField   quadrupoleMagField( 10.*tesla/(50.*cm) );
     250G4CachedMagneticField  myMagField( &quadrupoleMagField, 1.0 * cm);
    246251
    247252G4FieldManager* SetupField(G4int type)
     
    266271      case 10: pStepper = new G4RKG3_Stepper( fEquation );       break;
    267272      case 11: pStepper = new G4HelixMixedStepper( fEquation );  break;
     273      case 12: pStepper = new G4ConstRK4( fEquation ); break;
     274      case 13: pStepper = new G4NystromRK4( fEquation ); break;
    268275      default:
    269276        pStepper = 0;
     
    448455          physStep *= 2.;
    449456       } // ...........................  end for ( istep )
     457
     458       myMagField.ReportStatistics();
     459
    450460    }    // ..............................  end for ( iparticle )
    451461
  • trunk/source/geometry/magneticfield/test/testPropagateSpin.cc

    r1199 r1231  
    2626//
    2727// $Id: testPropagateSpin.cc,v 1.17 2006/06/29 18:25:06 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02-cand-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030// 
Note: See TracChangeset for help on using the changeset viewer.