[Yt-svn] commit/yt: MatthewTurk: Ensuring grid_t is set correctly inside the voxel traversal algorithm.
Bitbucket
commits-noreply at bitbucket.org
Wed Aug 17 11:24:35 PDT 2011
1 new changeset in yt:
http://bitbucket.org/yt_analysis/yt/changeset/6c31049e1a99/
changeset: 6c31049e1a99
branch: yt
user: MatthewTurk
date: 2011-08-17 20:24:17
summary: Ensuring grid_t is set correctly inside the voxel traversal algorithm.
affected #: 1 file (61 bytes)
--- a/yt/utilities/_amr_utils/RayIntegrators.pyx Tue Aug 16 22:07:59 2011 -0400
+++ b/yt/utilities/_amr_utils/RayIntegrators.pyx Wed Aug 17 14:24:17 2011 -0400
@@ -198,6 +198,7 @@
# If we've reached t = 1, we are done.
grid_mask[cur_ind[0], cur_ind[1], cur_ind[2]] = 1
if (tmax[0] > 1.0) and (tmax[1] > 1.0) and (tmax[2] > 1.0):
+ grid_t[cur_ind[0], cur_ind[1], cur_ind[2]] = 1.0
grid_dt[cur_ind[0], cur_ind[1], cur_ind[2]] = 1.0 - enter_t
break
if tmax[0] < tmax[1]:
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list