G4VITTimeStepper Class Reference

#include <G4VITTimeStepper.hh>

Inheritance diagram for G4VITTimeStepper:

G4DNAMoleculeEncounterStepper

Public Member Functions

 G4VITTimeStepper ()
virtual ~G4VITTimeStepper ()
 G4VITTimeStepper (const G4VITTimeStepper &)
G4VITTimeStepperoperator= (const G4VITTimeStepper &other)
virtual void Initialize ()
virtual void Prepare ()
virtual G4double CalculateStep (const G4Track &, const G4double &)=0
G4TrackVectorHandle GetReactants ()
virtual void ResetReactants ()
G4double GetSampledMinTimeStep ()
void SetReactionTable (const G4ITReactionTable *)
const G4ITReactionTableGetReactionTable ()

Static Public Member Functions

static void SetTimes (const G4double &, const G4double &)

Protected Attributes

G4double fSampledMinTimeStep
G4TrackVectorHandle fReactants
const G4ITReactionTablefpReactionTable

Static Protected Attributes

static G4double fCurrentGlobalTime = -1
static G4double fUserMinTimeStep = -1

Detailed Description

Before stepping all tracks G4ITStepManager calls all the G4VITModel which may contain a G4VITTimeStepper (optionnal). G4VITTimeStepper returns what should be the next global time step. Time step that will be used to step all tracks.

Definition at line 55 of file G4VITTimeStepper.hh.


Constructor & Destructor Documentation

G4VITTimeStepper::G4VITTimeStepper (  ) 

Definition at line 41 of file G4VITTimeStepper.cc.

References fpReactionTable, fReactants, and fSampledMinTimeStep.

00042 {
00043     fVerbose = 0;
00044     fReactants = 0;
00045     fSampledMinTimeStep = 0 ;
00046     fpReactionTable      = 0;
00047 }

G4VITTimeStepper::~G4VITTimeStepper (  )  [virtual]

Definition at line 49 of file G4VITTimeStepper.cc.

00050 {;}

G4VITTimeStepper::G4VITTimeStepper ( const G4VITTimeStepper  ) 

Definition at line 59 of file G4VITTimeStepper.cc.

References fpReactionTable, fReactants, fSampledMinTimeStep, and fVerbose.

00060 {
00061     fVerbose            = right.fVerbose ;
00062     fpReactionTable      = right.fpReactionTable ;
00063     fReactants          = 0;
00064     fSampledMinTimeStep = 0 ;
00065 }


Member Function Documentation

virtual G4double G4VITTimeStepper::CalculateStep ( const G4Track ,
const G4double  
) [pure virtual]

Implemented in G4DNAMoleculeEncounterStepper.

G4TrackVectorHandle G4VITTimeStepper::GetReactants (  )  [inline]

Definition at line 120 of file G4VITTimeStepper.hh.

References fReactants.

00121 {
00122     return  fReactants ;
00123 }

const G4ITReactionTable * G4VITTimeStepper::GetReactionTable (  )  [inline]

Definition at line 105 of file G4VITTimeStepper.hh.

References fpReactionTable.

00106 {
00107     return fpReactionTable ;
00108 }

G4double G4VITTimeStepper::GetSampledMinTimeStep (  )  [inline]

Definition at line 115 of file G4VITTimeStepper.hh.

References fSampledMinTimeStep.

00116 {
00117     return fSampledMinTimeStep ;
00118 }

virtual void G4VITTimeStepper::Initialize (  )  [inline, virtual]

This macro defined in AddClone_def

Definition at line 69 of file G4VITTimeStepper.hh.

Referenced by G4VITModel::Initialize().

00069 {;}

G4VITTimeStepper & G4VITTimeStepper::operator= ( const G4VITTimeStepper other  ) 

Definition at line 52 of file G4VITTimeStepper.cc.

00053 {
00054     if (this == &rhs) return *this; // handle self assignment
00055     //assignment operator
00056     return *this;
00057 }

void G4VITTimeStepper::Prepare (  )  [inline, virtual]

Reimplemented in G4DNAMoleculeEncounterStepper.

Definition at line 110 of file G4VITTimeStepper.hh.

References fReactants.

Referenced by G4DNAMoleculeEncounterStepper::Prepare().

00111 {
00112     fReactants = 0 ;
00113 }

virtual void G4VITTimeStepper::ResetReactants (  )  [inline, virtual]

Definition at line 79 of file G4VITTimeStepper.hh.

References fReactants.

00079 {fReactants = 0;}

void G4VITTimeStepper::SetReactionTable ( const G4ITReactionTable  )  [inline]

Definition at line 100 of file G4VITTimeStepper.hh.

References fpReactionTable.

Referenced by G4VITModel::Initialize().

00101 {
00102     fpReactionTable = table;
00103 }

void G4VITTimeStepper::SetTimes ( const G4double ,
const G4double  
) [static]

Definition at line 67 of file G4VITTimeStepper.cc.

References fCurrentGlobalTime, and fUserMinTimeStep.

Referenced by G4ITModelProcessor::InitializeStepper().

00069 {
00070     fCurrentGlobalTime = currentGlobalTime ;
00071     fUserMinTimeStep   = userMinStepTime ;
00072 }


Field Documentation

G4double G4VITTimeStepper::fCurrentGlobalTime = -1 [static, protected]

Definition at line 88 of file G4VITTimeStepper.hh.

Referenced by SetTimes().

const G4ITReactionTable* G4VITTimeStepper::fpReactionTable [protected]

Definition at line 94 of file G4VITTimeStepper.hh.

Referenced by G4VITTimeStepper(), GetReactionTable(), and SetReactionTable().

G4TrackVectorHandle G4VITTimeStepper::fReactants [protected]

Definition at line 92 of file G4VITTimeStepper.hh.

Referenced by G4DNAMoleculeEncounterStepper::CalculateStep(), G4VITTimeStepper(), GetReactants(), Prepare(), and ResetReactants().

G4double G4VITTimeStepper::fSampledMinTimeStep [protected]

Definition at line 91 of file G4VITTimeStepper.hh.

Referenced by G4DNAMoleculeEncounterStepper::CalculateStep(), G4VITTimeStepper(), and GetSampledMinTimeStep().

G4double G4VITTimeStepper::fUserMinTimeStep = -1 [static, protected]

Definition at line 89 of file G4VITTimeStepper.hh.

Referenced by G4DNAMoleculeEncounterStepper::CalculateStep(), and SetTimes().


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:50 2013 for Geant4 by  doxygen 1.4.7