aboutsummaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-08-28 10:53:54 +0200
committerAnton Khirnov <anton@khirnov.net>2016-08-28 11:14:49 +0200
commit4633e6db474e7825979bef26e68628d492a63eb1 (patch)
tree437afd67bcf813631247cc9879b8d45ffc5295de /internal.h
parent2926c4ea6f9e34b8962a08dff372252537473bda (diff)
eval: refactor evaluating the metric
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 78b3741..501d390 100644
--- a/internal.h
+++ b/internal.h
@@ -57,6 +57,14 @@ typedef struct BDPriv {
int bdi_solve(BDContext *bd);
+void bdi_eval_metric(const BDContext *bd,
+ const double *rho, int nb_coords_rho,
+ const double *z, int nb_coords_z,
+ enum BDMetricComponent comp,
+ const unsigned int diff_order[2],
+ double *psi[9], double *q[9],
+ double *out, ptrdiff_t out_stride);
+
void bdi_log(const BDContext *bd, int level, const char *fmt, ...);
void bdi_log_default_callback(const BDContext *bd, int level,
const char *fmt, va_list vl);