private void CheckYDimension(PrimaryParticle primaryParticle, ISimulationBox simulationBox)
 {
     if (primaryParticle.Position.Y > simulationBox.YDim.Upper)
     {
         primaryParticle.MoveBy(new Vector3(0, -1 * simulationBox.YDim.Width, 0));
     }
     if (primaryParticle.Position.Y < simulationBox.YDim.Lower)
     {
         primaryParticle.MoveBy(new Vector3(0, simulationBox.YDim.Width, 0));
     }
 }
 private void CheckXDimension(PrimaryParticle primaryParticle, ISimulationBox simulationBox)
 {
     if (primaryParticle.Position.X > simulationBox.XDim.Upper)
     {
         primaryParticle.MoveBy(new Vector3(-1 * simulationBox.XDim.Width, 0, 0));
     }
     if (primaryParticle.Position.X < simulationBox.XDim.Lower)
     {
         primaryParticle.MoveBy(new Vector3(simulationBox.XDim.Width, 0, 0));
     }
 }