diff options
author | Anton Khirnov <anton@khirnov.net> | 2018-11-30 15:56:14 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2018-11-30 15:56:14 +0100 |
commit | cafdb67e15d89cc3bf121fdb31bb157cd08e829b (patch) | |
tree | cd88c231056988d5f19380226c6483a0dc75cd45 | |
parent | 72fe05cfb0745a07e99ad5729123311eedcbd3a9 (diff) |
teukolsky_data.py: allow setting the seed function family
-rw-r--r-- | teukolsky_data.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/teukolsky_data.py b/teukolsky_data.py index 86db668..c9bf83c 100644 --- a/teukolsky_data.py +++ b/teukolsky_data.py @@ -21,6 +21,9 @@ import numpy as np class TeukolskyData(object): + TD_FAMILY_AE_TIME_ANTISYM = 0 + TD_FAMILY_SIMPLE_TIME_ANTISYM = 1 + coeffs = None _libtd = None @@ -38,6 +41,7 @@ class TeukolskyData(object): ("nb_threads", ctypes.c_uint), ("coeffs", ctypes.POINTER(ctypes.c_double) * 3), ("solution_branch", ctypes.c_uint), + ("family", ctypes.c_uint), ] def __init__(self, **kwargs): |