Geant4  10.01.p03
G4VITTimeStepComputer Class Referenceabstract

Before stepping all tracks G4Scheduler calls all the G4VITModel which may contain a G4VITTimeStepper (optionnal). More...

#include <G4VITTimeStepComputer.hh>

+ Inheritance diagram for G4VITTimeStepComputer:
+ Collaboration diagram for G4VITTimeStepComputer:

Public Member Functions

 G4VITTimeStepComputer ()
 
virtual ~G4VITTimeStepComputer ()
 
 G4VITTimeStepComputer (const G4VITTimeStepComputer &)
 
G4VITTimeStepComputeroperator= (const G4VITTimeStepComputer &other)
 
virtual void Initialize ()
 This macro defined in AddClone_def. More...
 
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
 

Private Attributes

G4int fVerbose
 

Detailed Description

Before stepping all tracks G4Scheduler 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 70 of file G4VITTimeStepComputer.hh.

Constructor & Destructor Documentation

G4VITTimeStepComputer::G4VITTimeStepComputer ( )

Definition at line 41 of file G4VITTimeStepComputer.cc.

References fpReactionTable, fReactants, fSampledMinTimeStep, and fVerbose.

G4VITTimeStepComputer::~G4VITTimeStepComputer ( )
virtual

Definition at line 50 of file G4VITTimeStepComputer.cc.

G4VITTimeStepComputer::G4VITTimeStepComputer ( const G4VITTimeStepComputer right)

Definition at line 60 of file G4VITTimeStepComputer.cc.

References fpReactionTable, fReactants, fSampledMinTimeStep, and fVerbose.

Member Function Documentation

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

Definition at line 138 of file G4VITTimeStepComputer.hh.

References fReactants.

const G4ITReactionTable * G4VITTimeStepComputer::GetReactionTable ( )
inline

Definition at line 122 of file G4VITTimeStepComputer.hh.

References fpReactionTable.

G4double G4VITTimeStepComputer::GetSampledMinTimeStep ( )
inline

Definition at line 133 of file G4VITTimeStepComputer.hh.

References fSampledMinTimeStep.

virtual void G4VITTimeStepComputer::Initialize ( )
inlinevirtual

This macro defined in AddClone_def.

Definition at line 84 of file G4VITTimeStepComputer.hh.

Referenced by G4VITStepModel::Initialize().

+ Here is the caller graph for this function:

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

Definition at line 53 of file G4VITTimeStepComputer.cc.

void G4VITTimeStepComputer::Prepare ( )
inlinevirtual

Reimplemented in G4DNAMoleculeEncounterStepper.

Definition at line 127 of file G4VITTimeStepComputer.hh.

References fReactants.

Referenced by G4ITModelProcessor::InitializeStepper(), and G4DNAMoleculeEncounterStepper::Prepare().

+ Here is the caller graph for this function:

virtual void G4VITTimeStepComputer::ResetReactants ( )
inlinevirtual

Definition at line 94 of file G4VITTimeStepComputer.hh.

References fReactants.

void G4VITTimeStepComputer::SetReactionTable ( const G4ITReactionTable table)
inline

Definition at line 117 of file G4VITTimeStepComputer.hh.

Referenced by G4VITStepModel::Initialize().

+ Here is the caller graph for this function:

void G4VITTimeStepComputer::SetTimes ( const G4double currentGlobalTime,
const G4double userMinStepTime 
)
static

Definition at line 69 of file G4VITTimeStepComputer.cc.

References fCurrentGlobalTime, and fUserMinTimeStep.

Referenced by G4ITModelProcessor::InitializeStepper().

+ Here is the caller graph for this function:

Member Data Documentation

G4ThreadLocal G4double G4VITTimeStepComputer::fCurrentGlobalTime = -1
staticprotected

Definition at line 105 of file G4VITTimeStepComputer.hh.

Referenced by SetTimes().

const G4ITReactionTable* G4VITTimeStepComputer::fpReactionTable
protected

Definition at line 111 of file G4VITTimeStepComputer.hh.

Referenced by G4VITTimeStepComputer(), and GetReactionTable().

G4ThreadLocal G4double G4VITTimeStepComputer::fUserMinTimeStep = -1
staticprotected
G4int G4VITTimeStepComputer::fVerbose
private

Definition at line 114 of file G4VITTimeStepComputer.hh.

Referenced by G4VITTimeStepComputer().


The documentation for this class was generated from the following files: