From 29f78b76839cedcbcfbcce886e4d9dc1dc901d55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Thu, 21 Feb 2019 05:35:57 +0000 Subject: [PATCH] Prototypes for tmatrix interpolator functions. Former-commit-id: be2d0c8b9182eb2c805d8e141670f8f16afd4cb6 --- qpms/scatsystem.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/qpms/scatsystem.h b/qpms/scatsystem.h index cbaf479..1c6ed17 100644 --- a/qpms/scatsystem.h +++ b/qpms/scatsystem.h @@ -135,4 +135,18 @@ qpms_errno_t qpms_load_scuff_tmatrix( complex double **tmdata ///< The t-matrices raw contents ); + +typedef struct qpms_tmatrix_interpolator_t { + /*TODO; probably use gsl_spline from */; +} qpms_tmatrix_interpolator_t; + +/// NOT IMPLEMENTED +void qpms_tmatrix_interpolator_free(qpms_tmatrix_interpolator_t *interp); + +/// NOT IMPLEMENTED +qpms_tmatrix_t *qpms_tmatrix_interpolator_get(const qpms_tmatrix_interpolator_t *interp); + +/// NOT IMPLEMENTED +qpms_tmatrix_interpolator_t *qpms_tmatrix_interpolator_create(size_t *n, const double *freqs, const qpms_tmatrix_t *tmatrices_array /*, ...? */); + #endif //QPMS_SCATSYSTEM_H