[yt-svn] commit/yt: 3 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Dec 6 08:26:16 PST 2016
3 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/b1cfa28c819c/
Changeset: b1cfa28c819c
Branch: yt
User: ngoldbaum
Date: 2016-11-08 15:20:39+00:00
Summary: Remove unused import of PyErr_CheckSignals in VR code
Affected #: 1 file
diff -r 1a290fab65e430186f2c6e80ae19ae6084402dc4 -r b1cfa28c819ce869f2fd0a913d0887d62c462302 yt/utilities/lib/grid_traversal.pyx
--- a/yt/utilities/lib/grid_traversal.pyx
+++ b/yt/utilities/lib/grid_traversal.pyx
@@ -27,7 +27,6 @@
from fixed_interpolator cimport *
from cython.parallel import prange, parallel, threadid
-from cpython.exc cimport PyErr_CheckSignals
from .image_samplers cimport \
ImageSampler, \
https://bitbucket.org/yt_analysis/yt/commits/cb4b0b5ec424/
Changeset: cb4b0b5ec424
Branch: yt
User: ngoldbaum
Date: 2016-11-08 15:21:04+00:00
Summary: Add call to signal handler in core SPH smoothing loop
Affected #: 1 file
diff -r b1cfa28c819ce869f2fd0a913d0887d62c462302 -r cb4b0b5ec4241befba33caa751aa68b5faef930b yt/geometry/particle_smooth.pyx
--- a/yt/geometry/particle_smooth.pyx
+++ b/yt/geometry/particle_smooth.pyx
@@ -16,9 +16,11 @@
cimport numpy as np
import numpy as np
+cimport cython
+
+from cpython.exc cimport PyErr_CheckSignals
from libc.stdlib cimport malloc, free, realloc
from libc.string cimport memmove
-cimport cython
from libc.math cimport sqrt, fabs, sin, cos
from oct_container cimport Oct, OctAllocationContainer, \
@@ -208,6 +210,8 @@
cdef DistanceQueue dist_queue = DistanceQueue(self.maxn)
dist_queue._setup(self.DW, self.periodicity)
for i in range(oct_positions.shape[0]):
+ if (i % 10000) == 0:
+ PyErr_CheckSignals()
for j in range(3):
pos[j] = oct_positions[i, j]
oct = mesh_octree.get(pos, &moi)
https://bitbucket.org/yt_analysis/yt/commits/7da3033837bc/
Changeset: 7da3033837bc
Branch: yt
User: xarthisius
Date: 2016-12-06 16:25:49+00:00
Summary: Merged in ngoldbaum/yt (pull request #2435)
Add call to signal handler in core SPH smoothing loop
Affected #: 2 files
diff -r 0207316331dd33da804a692a6c8de656b40173cb -r 7da3033837bc6c0e13a5b0e198b6c578a94ee170 yt/geometry/particle_smooth.pyx
--- a/yt/geometry/particle_smooth.pyx
+++ b/yt/geometry/particle_smooth.pyx
@@ -16,9 +16,11 @@
cimport numpy as np
import numpy as np
+cimport cython
+
+from cpython.exc cimport PyErr_CheckSignals
from libc.stdlib cimport malloc, free, realloc
from libc.string cimport memmove
-cimport cython
from libc.math cimport sqrt, fabs, sin, cos
from oct_container cimport \
@@ -208,6 +210,8 @@
cdef DistanceQueue dist_queue = DistanceQueue(self.maxn)
dist_queue._setup(self.DW, self.periodicity)
for i in range(oct_positions.shape[0]):
+ if (i % 10000) == 0:
+ PyErr_CheckSignals()
for j in range(3):
pos[j] = oct_positions[i, j]
oct = mesh_octree.get(pos, &moi)
diff -r 0207316331dd33da804a692a6c8de656b40173cb -r 7da3033837bc6c0e13a5b0e198b6c578a94ee170 yt/utilities/lib/grid_traversal.pyx
--- a/yt/utilities/lib/grid_traversal.pyx
+++ b/yt/utilities/lib/grid_traversal.pyx
@@ -27,7 +27,6 @@
from fixed_interpolator cimport *
from cython.parallel import prange, parallel, threadid
-from cpython.exc cimport PyErr_CheckSignals
from .image_samplers cimport \
ImageSampler, \
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