Cosmetic changes only.
This commit is contained in:
parent
d486684cc1
commit
89aca91067
@ -2,7 +2,7 @@ function ret = accelerationDueToSpontaneousEmissionProcess(this, SaturationParam
|
|||||||
Vector = [2*rand(1)-1,2*rand(1)-1,2*rand(1)-1];
|
Vector = [2*rand(1)-1,2*rand(1)-1,2*rand(1)-1];
|
||||||
Vector = Vector./norm(Vector);
|
Vector = Vector./norm(Vector);
|
||||||
|
|
||||||
ScatteringRate = (0.5 * SaturationParameter * Linewidth) / (1 + TotalSaturationParameter);
|
ScatteringRate = (0.5 * Linewidth) * (SaturationParameter / (1 + TotalSaturationParameter));
|
||||||
NumberOfScatteringEvents = floor(ScatteringRate * this.TimeStep);
|
NumberOfScatteringEvents = floor(ScatteringRate * this.TimeStep);
|
||||||
|
|
||||||
if NumberOfScatteringEvents > 0
|
if NumberOfScatteringEvents > 0
|
||||||
|
Loading…
Reference in New Issue
Block a user