#include <G4DNASmoluchowskiDiffusion.hh>
G4DNASmoluchowskiDiffusion::G4DNASmoluchowskiDiffusion |
( |
double |
epsilon = 1e-5 | ) |
|
Definition at line 50 of file G4DNASmoluchowskiDiffusion.cc.
std::vector< double > fInverse
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
double epsilon(double density, double temperature)
G4DNASmoluchowskiDiffusion::~G4DNASmoluchowskiDiffusion |
( |
| ) |
|
|
virtual |
static double G4DNASmoluchowskiDiffusion::ComputeDistance |
( |
double |
sTransform, |
|
|
double |
D, |
|
|
double |
t |
|
) |
| |
|
inlinestatic |
static double G4DNASmoluchowskiDiffusion::ComputeS |
( |
double |
r, |
|
|
double |
D, |
|
|
double |
t |
|
) |
| |
|
inlinestatic |
static double G4DNASmoluchowskiDiffusion::ComputeTime |
( |
double |
sTransform, |
|
|
double |
D, |
|
|
double |
r |
|
) |
| |
|
inlinestatic |
double G4DNASmoluchowskiDiffusion::EstimateCrossingTime |
( |
double |
proba, |
|
|
double |
distance, |
|
|
double |
D |
|
) |
| |
|
inline |
Definition at line 110 of file G4DNASmoluchowskiDiffusion.hh.
double GetInverseProbability(double proba)
static double ComputeTime(double sTransform, double D, double r)
static double G4DNASmoluchowskiDiffusion::GetCumulativeProbability |
( |
double |
sTransform | ) |
|
|
inlinestatic |
Definition at line 304 of file G4DNASmoluchowskiDiffusion.hh.
306 static double constant = 2./std::sqrt(3.141592653589793);
307 return erfc(sTransform) + constant*sTransform*
G4Exp(-sTransform*sTransform);
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
static double G4DNASmoluchowskiDiffusion::GetDensityProbability |
( |
double |
r, |
|
|
double |
_time, |
|
|
double |
D |
|
) |
| |
|
inlinestatic |
Definition at line 129 of file G4DNASmoluchowskiDiffusion.hh.
131 static double my_pi = 3.141592653589793;
132 static double constant = 4.*my_pi/std::pow(4.*my_pi, 1.5);
133 return r*r/std::pow(
D * _time,1.5)*
G4Exp(-r*r/(4. *
D * _time))*constant;
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
static double G4DNASmoluchowskiDiffusion::GetDifferential |
( |
double |
sTransform | ) |
|
|
inlinestatic |
Definition at line 123 of file G4DNASmoluchowskiDiffusion.hh.
125 static double constant = -4./std::sqrt(3.141592653589793);
126 return sTransform*sTransform*
G4Exp(-sTransform*sTransform)*constant;
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
double G4DNASmoluchowskiDiffusion::GetInverseProbability |
( |
double |
proba | ) |
|
|
inline |
Definition at line 310 of file G4DNASmoluchowskiDiffusion.hh.
312 size_t index_low = (size_t) trunc(proba/
fEpsilon);
322 double tangente = (low_y-up_y)/(low_x - up_x);
324 return low_y + tangente*(proba-low_x);
327 size_t index_up = index_low+1;
341 double tangente = (low_y-up_y)/(low_x - up_x);
343 return low_y + tangente*(proba-low_x);
std::vector< double > fInverse
double G4DNASmoluchowskiDiffusion::GetRandomDistance |
( |
double |
_time, |
|
|
double |
D |
|
) |
| |
|
inline |
Definition at line 94 of file G4DNASmoluchowskiDiffusion.hh.
static double ComputeDistance(double sTransform, double D, double t)
double GetInverseProbability(double proba)
double G4DNASmoluchowskiDiffusion::GetRandomTime |
( |
double |
distance, |
|
|
double |
D |
|
) |
| |
|
inline |
Definition at line 103 of file G4DNASmoluchowskiDiffusion.hh.
double GetInverseProbability(double proba)
static double ComputeTime(double sTransform, double D, double r)
void G4DNASmoluchowskiDiffusion::InitialiseInverseProbability |
( |
double |
xmax = 3e28 | ) |
|
|
inline |
double G4DNASmoluchowskiDiffusion::Plot |
( |
double * |
x, |
|
|
double * |
|
|
) |
| |
|
inline |
double G4DNASmoluchowskiDiffusion::PlotInverse |
( |
double * |
x, |
|
|
double * |
|
|
) |
| |
|
inline |
void G4DNASmoluchowskiDiffusion::PrepareReverseTable |
( |
double |
xmin, |
|
|
double |
xmax |
|
) |
| |
|
inline |
Definition at line 263 of file G4DNASmoluchowskiDiffusion.hh.
270 BoundingBox boundingBox(xmin, xmax,
fEpsilon*1e-5);
280 if(boundingBox.Propose(x, newProba, nextProba, proposedX))
std::vector< double > fInverse
static double GetCumulativeProbability(double sTransform)
G4GLOB_DLL std::ostream G4cout
double G4DNASmoluchowskiDiffusion::fEpsilon |
std::vector<double> G4DNASmoluchowskiDiffusion::fInverse |
int G4DNASmoluchowskiDiffusion::fNbins |
The documentation for this class was generated from the following files: