diff options
Diffstat (limited to 'teukolsky_data.h')
-rw-r--r-- | teukolsky_data.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/teukolsky_data.h b/teukolsky_data.h index e0877cd..d95dbfe 100644 --- a/teukolsky_data.h +++ b/teukolsky_data.h @@ -36,6 +36,28 @@ * Finally, free the solver context with td_context_free(). */ +/** + * Identifies the specific initial data family to use. + */ +enum TDFamily { + /** + * The time-antisymmetric initial data used in Abrahams&Evans PhysRevD v49,n8 (1994). + * Conformally flat spatial metric. + * r / x x 3 \ / x 2 \ + * K = -60√(2/π) a | --- - (---) | * exp| - (---) | sin(2θ) + * θ \ L L / \ L / + */ + TD_FAMILY_AE_TIME_ANTISYM = 0, + /** + * Simpler time-antisymmetric initial data. + * Conformally flat spatial metric. + * r x / x 2 \ + * K = a --- exp| - (---) | sin(2θ) + * θ L \ L / + */ + TD_FAMILY_SIMPLE_TIME_ANTISYM, +}; + typedef struct TDContext { /** * Solver internals, not to be accessed by the caller @@ -105,6 +127,8 @@ typedef struct TDContext { double *coeffs[3]; unsigned int solution_branch; + + enum TDFamily family; } TDContext; /** |