Skip to content

Commit

Permalink
Merge pull request #140 from mabruzzo/pygrackle-tweaks
Browse files Browse the repository at this point in the history
Pygrackle tweaks
  • Loading branch information
brittonsmith committed Apr 4, 2023
2 parents e10fbee + c8eb79a commit 276ed6c
Show file tree
Hide file tree
Showing 2 changed files with 140 additions and 244 deletions.
7 changes: 7 additions & 0 deletions src/python/pygrackle/grackle_defs.pxd
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
cdef extern from "grackle_macros.h":
cdef int GRACKLE_FAIL_VALUE "FAIL"

cdef extern from "grackle_types.h":
# This does not need to be exactly correct, only of the right basic type
ctypedef float gr_float
Expand Down Expand Up @@ -239,4 +242,8 @@ cdef extern from "grackle.h":
c_field_data *my_fields,
gr_float *dust_temperature)

int c_free_chemistry_data "_free_chemistry_data" (
c_chemistry_data *my_chemistry,
c_chemistry_data_storage *my_rates)

c_grackle_version c_get_grackle_version "get_grackle_version"()

0 comments on commit 276ed6c

Please sign in to comment.