Skip to content

Commit

Permalink
Remove useless method
Browse files Browse the repository at this point in the history
  • Loading branch information
cphyc committed May 5, 2020
1 parent 0752ed5 commit fd3f5ed
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions yt/geometry/oct_container.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -797,19 +797,6 @@ cdef class OctreeContainer:

return np.asarray(oct_inds), np.asarray(cell_inds)

@cython.boundscheck(False)
@cython.wraparound(False)
def copy_neighbour_data(self,
np.int64_t[:] icell, np.int64_t[:] nicell,
np.float64_t[:, :] input, np.float64_t[:, :] output,
int N):
"""Copy data from neighbouring cell into current one"""
cdef int i

for i in range(N):
if nicell[i] > -1 and icell[i] > -1:
output[icell[i], :] = input[nicell[i], :]

@cython.boundscheck(False)
@cython.wraparound(False)
@cython.cdivision(True)
Expand Down

0 comments on commit fd3f5ed

Please sign in to comment.