예제 #1
0
// Calculates the probability density of finding the particle at location z at
// timepoint t, given that the particle is still in the domain.
const Real
FirstPassageGreensFunction1DRad::calcpcum (const Real r, const Real t) const
{
    // BEWARE: HERE THERE IS SCALING OF R!
    const Real r_corr(r/this->l_scale);
    // p_survival is unscaled!
    return prob_r (r_corr, t)/p_survival (t);
}
예제 #2
0
// Calculates the probability density of finding the particle at location r at 
// timepoint t, given that the particle is still in the domain.
Real
GreensFunction1DAbsAbs::calcpcum (Real r, Real t) const
{
    return prob_r(r, t) / p_survival(t);
}
예제 #3
0
// Calculates the probability flux leaving the domain through the radiative
// boundary at time t
Real
GreensFunction1DRadAbs::flux_rad (Real t) const
{
    return this->getk() * prob_r(this->getsigma(), t);
}
예제 #4
0
// Calculates the probability flux leaving the domain through the radiative
// boundary at time t
const Real FirstPassageGreensFunction1DRad::flux_rad (const Real t) const
{
    return this->getk()*prob_r(0, t);
}