From 77e6e7ce4eb8f88364ff303a70353c9a5c1a5da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Thu, 20 Jun 2019 07:39:43 +0300 Subject: [PATCH] scatsystem scattered field evaluation declarations Former-commit-id: 0e88a9adbde0bcf875a4a7b144d2c85102014957 --- qpms/scatsystem.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/qpms/scatsystem.h b/qpms/scatsystem.h index 55be5fe..9d94770 100644 --- a/qpms/scatsystem.h +++ b/qpms/scatsystem.h @@ -319,4 +319,25 @@ complex double *qpms_orbit_irrep_basis( /// The index of the irreducible representation of sym. const qpms_iri_t iri); +/** Evaluates scattered fields (corresponding to a given excitation vector) + * at a given point. + * + * \return Complex electric field at the point defined by \a where. + */ +ccart3_t qpms_scatsys_eval_field(const qpms_scatsys_t *ss, + const complex double *coeff_vector, //< A full-length excitation vector. + cart3_t where //< Evaluation point. + ); + + +/** Evaluates partial scattered fields (corresponding to a given irrep-reduced excitation vector) + * at a given point. + * + * \return Complex electric field at the point defined by \a where. + */ +ccart3_t qpms_scatsys_eval_field_irrep(const qpms_scatsys_t *ss, + qpms_iri_t iri, //< Irreducible representation + const complex double *coeff_vector, //< A reduced excitation vector, corresponding to \a iri. + cart3_t where //< Evaluation point. + ); #endif //QPMS_SCATSYSTEM_H