Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4ClassicalRK4.hh,v 2.3 1998/11/17 18:20:08 japost Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// J.Apostolakis, V.Grichine 30.1.97
|
||||
// changed: W.Wander <wwc@mit.edu> 12/09/97: Moved into MagErrorStepper
|
||||
|
||||
#include "G4MagErrorStepper.hh"
|
||||
#include "G4ThreeVector.hh"
|
||||
|
||||
class G4ClassicalRK4 : public G4MagErrorStepper
|
||||
{
|
||||
public:
|
||||
|
||||
G4ClassicalRK4(G4Mag_EqRhs *EqRhs, G4int numberOfVariables = 6) ;
|
||||
|
||||
~G4ClassicalRK4() ;
|
||||
|
||||
void StepWithEst( const G4double yIn[],
|
||||
const G4double dydx[],
|
||||
const G4double h,
|
||||
G4double yOut[],
|
||||
G4double& alpha2,
|
||||
G4double& beta2,
|
||||
const G4double B1[],
|
||||
G4double B2[] ) ;
|
||||
|
||||
|
||||
G4int IntegratorOrder() { return 4; };
|
||||
|
||||
|
||||
// A stepper that does not know about errors.
|
||||
// It is used by the MagErrorStepper stepper.
|
||||
|
||||
void DumbStepper( const G4double yIn[],
|
||||
const G4double dydx[],
|
||||
const G4double h,
|
||||
G4double yOut[]) ;
|
||||
|
||||
// Could make above G4SixPoint to keep tangents too ...?
|
||||
|
||||
private:
|
||||
|
||||
G4int fNumberOfVariables ; // is set default to 6 in constructor
|
||||
|
||||
G4double *dydxm, *dydxt, *yt; // scratch space - not state
|
||||
};
|
||||
Reference in New Issue
Block a user