aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2018-11-30 15:56:14 +0100
committerAnton Khirnov <anton@khirnov.net>2018-11-30 15:56:14 +0100
commitcafdb67e15d89cc3bf121fdb31bb157cd08e829b (patch)
treecd88c231056988d5f19380226c6483a0dc75cd45
parent72fe05cfb0745a07e99ad5729123311eedcbd3a9 (diff)
teukolsky_data.py: allow setting the seed function family
-rw-r--r--teukolsky_data.py4
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):