Skip to content

Commit

Permalink
changed gimic.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
heikef committed Jan 12, 2019
1 parent 753fa32 commit 3ed168a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/libgimic/gimic.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,6 @@ cdef class Gimic(GimicConnector):
vec.append(cv[i])
return vec

cpdef divj(self, r):
cdef double cr[3]
cdef double cd
for i in range(3):
cr[i] = r[i]
self.thisptr.calc_divj(cr, &cd)
return cd

cpdef rho(self, r):
cdef double cr[3]
cdef double cd
for i in range(3):
cr[i] = r[i]
self.thisptr.calc_edens(cr, &cd)
return cd

cpdef set_property(self, prop, val):
eval('self.set_{0}({1})'.format(prop, repr(val)))

Expand Down

0 comments on commit 3ed168a

Please sign in to comment.