Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4DNAMolecularStepByStepModel Class Reference

#include <G4DNAMolecularStepByStepModel.hh>

+ Inheritance diagram for G4DNAMolecularStepByStepModel:

Public Member Functions

 G4DNAMolecularStepByStepModel (const G4String &name="DNAMolecularStepByStepModel")
 
 G4DNAMolecularStepByStepModel (const G4String &name, std::unique_ptr< G4VITTimeStepComputer > pTimeStepper, std::unique_ptr< G4VITReactionProcess > pReactionProcess)
 
G4DNAMolecularStepByStepModeloperator= (const G4DNAMolecularStepByStepModel &)=delete
 
 G4DNAMolecularStepByStepModel (const G4DNAMolecularStepByStepModel &)=delete
 
 ~G4DNAMolecularStepByStepModel () override
 
void PrintInfo () override
 
void Initialize () override
 
void SetReactionModel (G4VDNAReactionModel *)
 
G4VDNAReactionModelGetReactionModel ()
 
- Public Member Functions inherited from G4VITStepModel
 G4VITStepModel (const G4String &aName="NoName")
 
 G4VITStepModel (std::unique_ptr< G4VITTimeStepComputer > pTimeStepper, std::unique_ptr< G4VITReactionProcess > pReactionProcess, const G4String &aName="NoName")
 
 G4VITStepModel (const G4VITStepModel &other)=delete
 
G4VITStepModeloperator= (const G4VITStepModel &other)=delete
 
virtual ~G4VITStepModel ()=default
 
virtual void Initialize ()
 
void PrepareNewTimeStep ()
 
void GetApplicable (G4ITType &type1, G4ITType &type2)
 
virtual void PrintInfo ()
 
G4VITTimeStepComputerGetTimeStepper ()
 
const G4StringGetName ()
 
G4VITReactionProcessGetReactionProcess ()
 
void SetReactionTable (G4ITReactionTable *)
 
const G4ITReactionTableGetReactionTable ()
 

Protected Attributes

const G4DNAMolecularReactionTable *& fMolecularReactionTable
 
std::unique_ptr< G4VDNAReactionModelfpReactionModel
 
- Protected Attributes inherited from G4VITStepModel
G4String fName
 
std::unique_ptr< G4VITTimeStepComputerfpTimeStepper
 
std::unique_ptr< G4VITReactionProcessfpReactionProcess
 
const G4ITReactionTablefpReactionTable
 
G4ITType fType1
 
G4ITType fType2
 

Detailed Description

G4DNAMolecularStepByStepModel :

  • TimeStepper : G4DNAMolecularEncounterStepper
  • ReactionProcess : G4DNAMolecularReaction Before each step, the next minimum encounter time is calculated for each pair of molecule. The minimum time step is selected. All the molecules are stepped within this time step. Then, only the relevant pair of molecules are checked for reaction.

Definition at line 63 of file G4DNAMolecularStepByStepModel.hh.

Constructor & Destructor Documentation

◆ G4DNAMolecularStepByStepModel() [1/3]

G4DNAMolecularStepByStepModel::G4DNAMolecularStepByStepModel ( const G4String name = "DNAMolecularStepByStepModel")

Definition at line 39 of file G4DNAMolecularStepByStepModel.cc.

◆ G4DNAMolecularStepByStepModel() [2/3]

G4DNAMolecularStepByStepModel::G4DNAMolecularStepByStepModel ( const G4String name,
std::unique_ptr< G4VITTimeStepComputer pTimeStepper,
std::unique_ptr< G4VITReactionProcess pReactionProcess 
)

Definition at line 46 of file G4DNAMolecularStepByStepModel.cc.

49 : G4VITStepModel(std::move(pTimeStepper),
50 std::move(pReactionProcess),
51 name)
52 , fMolecularReactionTable(reference_cast<const G4DNAMolecularReactionTable*>(fpReactionTable))
53{
54 fType1 = G4Molecule::ITType();
55 fType2 = G4Molecule::ITType();
56}
const G4DNAMolecularReactionTable *& fMolecularReactionTable
const G4ITReactionTable * fpReactionTable

◆ G4DNAMolecularStepByStepModel() [3/3]

G4DNAMolecularStepByStepModel::G4DNAMolecularStepByStepModel ( const G4DNAMolecularStepByStepModel )
delete

◆ ~G4DNAMolecularStepByStepModel()

G4DNAMolecularStepByStepModel::~G4DNAMolecularStepByStepModel ( )
overridedefault

Member Function Documentation

◆ GetReactionModel()

G4VDNAReactionModel * G4DNAMolecularStepByStepModel::GetReactionModel ( )

Definition at line 92 of file G4DNAMolecularStepByStepModel.cc.

93{
94 return fpReactionModel.get();
95}
std::unique_ptr< G4VDNAReactionModel > fpReactionModel

◆ Initialize()

void G4DNAMolecularStepByStepModel::Initialize ( )
overridevirtual

Reimplemented from G4VITStepModel.

Definition at line 60 of file G4DNAMolecularStepByStepModel.cc.

61{
62 if(fpReactionTable == nullptr)
63 {
65 }
66
68 {
70 }
71
73
76
78}
static G4DNAMolecularReactionTable * GetReactionTable()
void SetReactionModel(G4VDNAReactionModel *)
void SetReactionTable(G4ITReactionTable *)
std::unique_ptr< G4VITTimeStepComputer > fpTimeStepper
virtual void Initialize()
std::unique_ptr< G4VITReactionProcess > fpReactionProcess

◆ operator=()

G4DNAMolecularStepByStepModel & G4DNAMolecularStepByStepModel::operator= ( const G4DNAMolecularStepByStepModel )
delete

◆ PrintInfo()

void G4DNAMolecularStepByStepModel::PrintInfo ( )
overridevirtual

Reimplemented from G4VITStepModel.

Definition at line 80 of file G4DNAMolecularStepByStepModel.cc.

81{
82#ifdef G4VERBOSE
83 G4cout << fName << " will be used" << G4endl;
84#endif
85}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

◆ SetReactionModel()

void G4DNAMolecularStepByStepModel::SetReactionModel ( G4VDNAReactionModel pReactionModel)

Member Data Documentation

◆ fMolecularReactionTable

const G4DNAMolecularReactionTable*& G4DNAMolecularStepByStepModel::fMolecularReactionTable
protected

Definition at line 81 of file G4DNAMolecularStepByStepModel.hh.

◆ fpReactionModel

std::unique_ptr<G4VDNAReactionModel> G4DNAMolecularStepByStepModel::fpReactionModel
protected

Definition at line 82 of file G4DNAMolecularStepByStepModel.hh.

Referenced by GetReactionModel(), Initialize(), and SetReactionModel().


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