Skip to content

Commit 34fba04

Browse files
committed
Remove useless definition of gind
1 parent f193427 commit 34fba04

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

yt/geometry/particle_deposit_vector.pxd

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ cdef extern from "numpy/npy_math.h":
2525
cdef extern from "platform_dep.h":
2626
void *alloca(int)
2727

28-
cdef inline int gind(int i, int j, int k, int dims[3]):
29-
# The ordering is such that we want i to vary the slowest in this instance,
30-
# even though in other instances it varies the fastest. To see this in
31-
# action, try looking at the results of an n_ref=256 particle CIC plot,
32-
# which shows it the most clearly.
33-
return ((i*dims[1])+j)*dims[2]+k
34-
3528

3629
cdef class ParticleDepositOperation:
3730
# We assume each will allocate and define their own temporary storage

0 commit comments

Comments
 (0)