Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes
G4VITTimeStepper Class Referenceabstract

#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 G4ThreadLocal G4double fCurrentGlobalTime = -1
 
static G4ThreadLocal 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.

42 {
43  fVerbose = 0;
44  fReactants = 0;
46  fpReactionTable = 0;
47 }
G4TrackVectorHandle fReactants
const G4ITReactionTable * fpReactionTable
G4double fSampledMinTimeStep
G4VITTimeStepper::~G4VITTimeStepper ( )
virtual

Definition at line 49 of file G4VITTimeStepper.cc.

50 {;}
G4VITTimeStepper::G4VITTimeStepper ( const G4VITTimeStepper right)

Definition at line 59 of file G4VITTimeStepper.cc.

References fpReactionTable, fReactants, and fSampledMinTimeStep.

60 {
61  fVerbose = right.fVerbose ;
63  fReactants = 0;
65 }
G4TrackVectorHandle fReactants
const G4ITReactionTable * fpReactionTable
G4double fSampledMinTimeStep

Member Function Documentation

virtual G4double G4VITTimeStepper::CalculateStep ( const G4Track ,
const G4double  
)
pure virtual
G4TrackVectorHandle G4VITTimeStepper::GetReactants ( )
inline

Definition at line 120 of file G4VITTimeStepper.hh.

References fReactants.

121 {
122  return fReactants ;
123 }
G4TrackVectorHandle fReactants
const G4ITReactionTable * G4VITTimeStepper::GetReactionTable ( )
inline

Definition at line 105 of file G4VITTimeStepper.hh.

References fpReactionTable.

106 {
107  return fpReactionTable ;
108 }
const G4ITReactionTable * fpReactionTable
G4double G4VITTimeStepper::GetSampledMinTimeStep ( )
inline

Definition at line 115 of file G4VITTimeStepper.hh.

References fSampledMinTimeStep.

116 {
117  return fSampledMinTimeStep ;
118 }
G4double fSampledMinTimeStep
virtual void G4VITTimeStepper::Initialize ( )
inlinevirtual

This macro defined in AddClone_def

Definition at line 69 of file G4VITTimeStepper.hh.

Referenced by G4VITModel::Initialize().

69 {;}
G4VITTimeStepper & G4VITTimeStepper::operator= ( const G4VITTimeStepper other)

Definition at line 52 of file G4VITTimeStepper.cc.

53 {
54  if (this == &rhs) return *this; // handle self assignment
55  //assignment operator
56  return *this;
57 }
void G4VITTimeStepper::Prepare ( )
inlinevirtual

Reimplemented in G4DNAMoleculeEncounterStepper.

Definition at line 110 of file G4VITTimeStepper.hh.

References fReactants.

Referenced by G4DNAMoleculeEncounterStepper::Prepare().

111 {
112  fReactants = 0 ;
113 }
G4TrackVectorHandle fReactants
virtual void G4VITTimeStepper::ResetReactants ( )
inlinevirtual

Definition at line 79 of file G4VITTimeStepper.hh.

References fReactants.

79 {fReactants = 0;}
G4TrackVectorHandle fReactants
void G4VITTimeStepper::SetReactionTable ( const G4ITReactionTable table)
inline

Definition at line 100 of file G4VITTimeStepper.hh.

References fpReactionTable.

Referenced by G4VITModel::Initialize().

101 {
102  fpReactionTable = table;
103 }
const G4ITReactionTable * fpReactionTable
void G4VITTimeStepper::SetTimes ( const G4double currentGlobalTime,
const G4double userMinStepTime 
)
static

Definition at line 67 of file G4VITTimeStepper.cc.

References fCurrentGlobalTime, and fUserMinTimeStep.

Referenced by G4ITModelProcessor::InitializeStepper().

69 {
70  fCurrentGlobalTime = currentGlobalTime ;
71  fUserMinTimeStep = userMinStepTime ;
72 }
static G4ThreadLocal G4double fUserMinTimeStep
static G4ThreadLocal G4double fCurrentGlobalTime

Field Documentation

G4ThreadLocal G4double G4VITTimeStepper::fCurrentGlobalTime = -1
staticprotected

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
G4double G4VITTimeStepper::fSampledMinTimeStep
protected
G4ThreadLocal G4double G4VITTimeStepper::fUserMinTimeStep = -1
staticprotected

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: