summaryrefslogtreecommitdiff
path: root/__init__.py
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-08-13 14:46:10 -0400
committerStan Seibert <stan@mtrr.org>2011-08-13 14:46:10 -0400
commita9aed9f7d07048f61e3c5c8214834628e1f65b36 (patch)
treebab6c7e18a0adb78da61f6ce80e7e3a76f21e84f /__init__.py
parentc6961d11edec689471d3f268f58bbab68f57a239 (diff)
downloadchroma-a9aed9f7d07048f61e3c5c8214834628e1f65b36.tar.gz
chroma-a9aed9f7d07048f61e3c5c8214834628e1f65b36.tar.bz2
chroma-a9aed9f7d07048f61e3c5c8214834628e1f65b36.zip
A faulty optical process can make the position or direction of the
photon into NaN on the GPU. Now we abort these photons rather than let them lock up the intersect_mesh() method. There is a new history bit (#31) that indicates when a NAN_ABORT has occurred, and this bit is checked for by GPU.propagate(). If set for any of the photons, a warning message is printed. While not as good as preventing the NaN problem in the first place, this at least ensures we are aware of the problem.
Diffstat (limited to '__init__.py')
0 files changed, 0 insertions, 0 deletions