From 6d0d9369a3b6214e1ea4b1df84dc71f7eb386fae Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 24 Jul 2012 17:33:52 -0400 Subject: [PATCH] Added section on rotating angles in documentation. --- docs/source/methods/physics.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/source/methods/physics.rst b/docs/source/methods/physics.rst index 5c08ad9724..13ce2c593b 100644 --- a/docs/source/methods/physics.rst +++ b/docs/source/methods/physics.rst @@ -30,6 +30,29 @@ Sampling Secondary Energy and Correlated Angle/Energy Distributions Transforming a Particle's Coordinates ------------------------------------- +Once the cosine of the scattering angle :math:`\mu` has been sampled either from +a angle distribution or a correlated angle-energy distribution, we are still +left with the task of transforming the particle's coordinates. The scattering +cosine that we sampled only tells us the cosine of the angle between the +original direction of the particle and the new direction of the particle. If we +express the pre-collision direction of the particle as :math:`\mathbf{\Omega} = +(u,v,w)` and the post-collision direction of the particle as +:math:`\mathbf{\Omega}' = (u',v',w')`, it is possible to relate the pre- and +post-collision components. We first need to uniformly sample an azimuthal angle +:math:`\phi` in :math:`[0, 2\pi)`. After the azimuthal angle has been sampled, +the post-collision direction is calculated as + +.. math:: + :label: post-collision-angle + + u' = \mu u + \frac{\sqrt{1 - \mu^2} ( uw \cos\phi - v \sin\phi )}{\sqrt{1 - + w^2}} \\ + + v' = \mu v + \frac{\sqrt{1 - \mu^2} ( vw \cos\phi + u \sin\phi )}{\sqrt{1 - + w^2}} \\ + + w' = \mu w - \sqrt{1 - \mu^2} \sqrt{1 - w^2} \cos\phi + ------------------ Elastic Scattering ------------------