[Debian-astro-commits] [gyoto] 05/221: Photon.C: coming back to transmission limit of 1e-6 to stop integration

Thibaut Jean-Claude Paumard thibaut at moszumanska.debian.org
Fri May 22 20:52:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

thibaut pushed a commit to branch master
in repository gyoto.

commit cc6269f9e3c98577f6c0cad545ba1112cc872c2d
Author: Frederic <frederic at MacFrederic.local>
Date:   Wed Sep 3 15:11:12 2014 +0200

    Photon.C: coming back to transmission limit of 1e-6 to stop integration
---
 lib/Photon.C | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Photon.C b/lib/Photon.C
index d5188f0..f6d4b9d 100644
--- a/lib/Photon.C
+++ b/lib/Photon.C
@@ -33,9 +33,9 @@
 #include <cstdlib>
 #include <cfloat>
 
-#define GYOTO_LIMIT_TRANSMISSION 0.36788
-// transmission is exp() of minus optical depth, 0.36788=exp(-1)
-// below this tranmission, medium is optically thick
+#define GYOTO_LIMIT_TRANSMISSION 1e-6 //0.36788
+// NB: 0.36788=exp(-1), 1e-6 transmission is well thicker
+// than the standard optical depth = 1
 
 using namespace std;
 using namespace Gyoto;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/gyoto.git



More information about the Debian-astro-commits mailing list