diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-08-27 13:35:52 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-08-27 13:37:30 +0200 |
commit | 1f443d3fdb93e71a70244b7521ae0f4c40601351 (patch) | |
tree | ef98c12efbdd879f6e0dc4f0c439b621824195ee /teukolsky_data.h | |
parent | 83bc788ae55b49d633ead8fa7ad5136f919826ce (diff) |
Add public API for evaluating the residual at an arbitrary location.
Diffstat (limited to 'teukolsky_data.h')
-rw-r--r-- | teukolsky_data.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/teukolsky_data.h b/teukolsky_data.h index 786554e..861613d 100644 --- a/teukolsky_data.h +++ b/teukolsky_data.h @@ -207,4 +207,13 @@ int td_eval_lapse(const TDContext *td, const unsigned int diff_order[2], double *out); +/** + * Evaluate the residual of the three constraint equations at the specified + * coordinates. + */ +int td_eval_residual(const TDContext *td, + size_t nb_coords_r, const double *r, + size_t nb_coords_theta, const double *theta, + double *out[3]); + #endif /* TEUKOLSKY_DATA_H */ |