diff options
author | Anton Khirnov <anton@khirnov.net> | 2018-04-23 08:45:07 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2018-04-23 08:45:54 +0200 |
commit | 788f68c3bbf7c74b717d8894be4610d39d0d97f2 (patch) | |
tree | c24059943ee5855b8f96699dda89597002ee7a0c /teukolsky_data.h | |
parent | 2ee593d56a83f0264cc41620c2feb3e03a13974f (diff) |
Add the simple time-antisym initial data family.
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; /** |