Geant4-11
Public Member Functions | Protected Attributes
G4VITStepModel Class Reference

#include <G4VITStepModel.hh>

Inheritance diagram for G4VITStepModel:
G4DNAIndependentReactionTimeModel G4DNAMolecularIRTModel G4DNAMolecularStepByStepModel

Public Member Functions

 G4VITStepModel (const G4String &aName="NoName")
 
 G4VITStepModel (const G4VITStepModel &other)=delete
 
 G4VITStepModel (std::unique_ptr< G4VITTimeStepComputer > pTimeStepper, std::unique_ptr< G4VITReactionProcess > pReactionProcess, const G4String &aName="NoName")
 
void GetApplicable (G4ITType &type1, G4ITType &type2)
 
const G4StringGetName ()
 
G4VITReactionProcessGetReactionProcess ()
 
const G4ITReactionTableGetReactionTable ()
 
G4VITTimeStepComputerGetTimeStepper ()
 
virtual void Initialize ()
 
G4VITStepModeloperator= (const G4VITStepModel &other)=delete
 
void PrepareNewTimeStep ()
 
virtual void PrintInfo ()
 
void SetReactionTable (G4ITReactionTable *)
 
virtual ~G4VITStepModel ()=default
 

Protected Attributes

G4String fName
 
std::unique_ptr< G4VITReactionProcessfpReactionProcess
 
const G4ITReactionTablefpReactionTable
 
std::unique_ptr< G4VITTimeStepComputerfpTimeStepper
 
G4ITType fType1
 
G4ITType fType2
 

Detailed Description

Define actions before and after stepping. The concrete implementation of G4VITModel defines the interaction between two G4IT types. The types can be equal like : Molecule + Molecule, or different : Molecule + Atom.

Definition at line 61 of file G4VITStepModel.hh.

Constructor & Destructor Documentation

◆ G4VITStepModel() [1/3]

G4VITStepModel::G4VITStepModel ( const G4String aName = "NoName")

Definition at line 37 of file G4VITStepModel.cc.

38 : G4VITStepModel(nullptr, nullptr, aName)
39{
40}
G4VITStepModel(const G4String &aName="NoName")

◆ G4VITStepModel() [2/3]

G4VITStepModel::G4VITStepModel ( std::unique_ptr< G4VITTimeStepComputer pTimeStepper,
std::unique_ptr< G4VITReactionProcess pReactionProcess,
const G4String aName = "NoName" 
)

Definition at line 42 of file G4VITStepModel.cc.

45 : fName(aName)
46 , fpTimeStepper(std::move(pTimeStepper))
47 , fpReactionProcess(std::move(pReactionProcess))
48 , fpReactionTable(nullptr)
49 , fType1(-1)
50 , fType2(-1)
51{
52}
const G4ITReactionTable * fpReactionTable
std::unique_ptr< G4VITTimeStepComputer > fpTimeStepper
std::unique_ptr< G4VITReactionProcess > fpReactionProcess

◆ G4VITStepModel() [3/3]

G4VITStepModel::G4VITStepModel ( const G4VITStepModel other)
delete

◆ ~G4VITStepModel()

virtual G4VITStepModel::~G4VITStepModel ( )
virtualdefault

Member Function Documentation

◆ GetApplicable()

void G4VITStepModel::GetApplicable ( G4ITType type1,
G4ITType type2 
)

Definition at line 54 of file G4VITStepModel.cc.

55{
56 type1 = fType1;
57 type2 = fType2;
58 PrintInfo();
59}
virtual void PrintInfo()

References fType1, fType2, and PrintInfo().

Referenced by G4ITModelHandler::RegisterModel().

◆ GetName()

const G4String & G4VITStepModel::GetName ( )

Definition at line 94 of file G4VITStepModel.cc.

95{
96 return fName;
97}

References fName.

◆ GetReactionProcess()

G4VITReactionProcess * G4VITStepModel::GetReactionProcess ( )

◆ GetReactionTable()

const G4ITReactionTable * G4VITStepModel::GetReactionTable ( )

Definition at line 79 of file G4VITStepModel.cc.

80{
81 return fpReactionTable ;
82}

References fpReactionTable.

◆ GetTimeStepper()

G4VITTimeStepComputer * G4VITStepModel::GetTimeStepper ( )

Definition at line 84 of file G4VITStepModel.cc.

85{
86 return fpTimeStepper.get();
87}

References fpTimeStepper.

Referenced by G4ITModelHandler::RegisterModel().

◆ Initialize()

void G4VITStepModel::Initialize ( )
virtual

◆ operator=()

G4VITStepModel & G4VITStepModel::operator= ( const G4VITStepModel other)
delete

◆ PrepareNewTimeStep()

void G4VITStepModel::PrepareNewTimeStep ( )

Definition at line 69 of file G4VITStepModel.cc.

70{
71 fpTimeStepper->Prepare();
72}

References fpTimeStepper.

◆ PrintInfo()

virtual void G4VITStepModel::PrintInfo ( )
inlinevirtual

◆ SetReactionTable()

void G4VITStepModel::SetReactionTable ( G4ITReactionTable pReactionTable)

Field Documentation

◆ fName

G4String G4VITStepModel::fName
protected

◆ fpReactionProcess

std::unique_ptr<G4VITReactionProcess> G4VITStepModel::fpReactionProcess
protected

◆ fpReactionTable

const G4ITReactionTable* G4VITStepModel::fpReactionTable
protected

◆ fpTimeStepper

std::unique_ptr<G4VITTimeStepComputer> G4VITStepModel::fpTimeStepper
protected

◆ fType1

G4ITType G4VITStepModel::fType1
protected

◆ fType2

G4ITType G4VITStepModel::fType2
protected

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