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;
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double GetDeltaTime() const
const G4DNAMolecularReactionTable * fReactionTable
std::ostringstream G4ExceptionDescription
G4StepPoint * GetPreStepPoint() const
const G4String & GetName() const
virtual void Initialise(G4MolecularConfiguration *, const G4Track &)
const std::vector< const G4DNAMolecularReactionData * > * fReactionData
virtual G4double GetReactionRadius(G4MolecularConfiguration *, G4MolecularConfiguration *)
const G4ThreeVector & GetPosition() const
G4DNASmoluchowskiReactionModel & operator=(const G4DNASmoluchowskiReactionModel &)
const G4ThreeVector & GetPosition() const
const G4Step * GetStep() const
virtual ~G4DNASmoluchowskiReactionModel()
G4Molecule * GetMolecule(const G4Track &track)
const G4DNAMolecularReactionData * GetReactionData(G4MolecularConfiguration *, G4MolecularConfiguration *) const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4double GetDiffusionCoefficient() const
G4double GetEffectiveReactionRadius() const
G4DNASmoluchowskiReactionModel()
virtual void InitialiseToPrint(G4MolecularConfiguration *)
virtual G4bool FindReaction(const G4Track &, const G4Track &, const G4double, G4double &, const G4bool)