51 if (
this == &right)
return *
this;
85 G4double __output = (*fReactionData)[__i]->GetEffectiveReactionRadius();
93 const G4bool __alongStepReaction)
96 bool do_break =
false;
102 postStepSeparation += std::pow(
105 if (postStepSeparation > R2)
112 if (do_break ==
false)
116 __r = std::sqrt(postStepSeparation);
119 else if (__alongStepReaction ==
true)
128 postStepSeparation += std::pow(
132 __r = (postStepSeparation = std::sqrt(postStepSeparation));
148 exceptionDescription <<
"The molecule : " << __moleculeA->
GetName();
149 exceptionDescription <<
" with track ID :" << __trackA.
GetTrackID();
150 exceptionDescription <<
" did not move since the previous step." <<
G4endl;
151 exceptionDescription <<
"Current position : "
154 exceptionDescription <<
"Previous position : "
156 G4Exception(
"G4DNASmoluchowskiReactionModel::FindReaction",
158 exceptionDescription);
162 (__preStepPositionA - __preStepPositionB).mag();
176 -(__preStepSeparation - __R) * (postStepSeparation - __R) / (__D
180 if (__selectedPOE <= __probabiltyOfEncounter)
return true;
virtual G4bool FindReaction(const G4Track &, const G4Track &, const G4double, G4double &, const G4bool)
G4double GetEffectiveReactionRadius() const
const G4DNAMolecularReactionData * GetReactionData(G4MolecularConfiguration *, G4MolecularConfiguration *) const
std::ostringstream G4ExceptionDescription
const G4ThreeVector & GetPosition() const
G4double GetDiffusionCoefficient() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
const G4Step * GetStep() const
const G4DNAMolecularReactionTable * fReactionTable
G4StepPoint * GetPreStepPoint() const
const G4String & GetName() const
const G4ThreeVector & GetPosition() const
virtual G4double GetReactionRadius(G4MolecularConfiguration *, G4MolecularConfiguration *)
G4double GetDeltaTime() const
G4Molecule * GetMolecule(const G4Track &track)
G4DNASmoluchowskiReactionModel()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
virtual ~G4DNASmoluchowskiReactionModel()
virtual void Initialise(G4MolecularConfiguration *, const G4Track &)
virtual void InitialiseToPrint(G4MolecularConfiguration *)