CMS 3D CMS Logo

Public Member Functions | Private Attributes

sim::FieldStepper Class Reference

#include <FieldStepper.h>

List of all members.

Public Member Functions

virtual double DistChord () const
 FieldStepper (G4Mag_UsualEqRhs *eq)
virtual int IntegratorOrder () const
G4MagIntegratorStepper * select (const std::string &s)
virtual void Stepper (const double y[], const double dydx[], double h, double yout[], double yerr[])
 ~FieldStepper ()

Private Attributes

G4Mag_UsualEqRhs * theEquation
G4MagIntegratorStepper * theStepper

Detailed Description

Definition at line 9 of file FieldStepper.h.


Constructor & Destructor Documentation

FieldStepper::FieldStepper ( G4Mag_UsualEqRhs *  eq)

Definition at line 18 of file FieldStepper.cc.

                                                :
    G4MagIntegratorStepper(eq, 6), theEquation(eq) {}
FieldStepper::~FieldStepper ( )

Definition at line 21 of file FieldStepper.cc.

{}

Member Function Documentation

double FieldStepper::DistChord ( ) const [virtual]

Definition at line 27 of file FieldStepper.cc.

References theStepper.

{ return theStepper->DistChord(); }
int FieldStepper::IntegratorOrder ( ) const [virtual]

Definition at line 29 of file FieldStepper.cc.

References theStepper.

{ return theStepper->IntegratorOrder(); }
G4MagIntegratorStepper* sim::FieldStepper::select ( const std::string &  s)
void FieldStepper::Stepper ( const double  y[],
const double  dydx[],
double  h,
double  yout[],
double  yerr[] 
) [virtual]

Definition at line 23 of file FieldStepper.cc.

References theStepper.

{ theStepper->Stepper(y,dydx,h,yout,yerr); }

Member Data Documentation

G4Mag_UsualEqRhs* sim::FieldStepper::theEquation [private]

Definition at line 21 of file FieldStepper.h.

G4MagIntegratorStepper* sim::FieldStepper::theStepper [private]

Definition at line 20 of file FieldStepper.h.

Referenced by DistChord(), IntegratorOrder(), and Stepper().