Jdu spát.
Former-commit-id: e253bb5068bdb4ad8ccef9879dadb8e1463a8968
This commit is contained in:
parent
effe59bc50
commit
5cc29210d7
|
@ -137,4 +137,10 @@ static qpms_errno_t qpms_scatsys_translation_booster_eval_bessels(
|
||||||
return QPMS_SUCCESS;
|
return QPMS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
typedef struct qpms_scatsysw_translation_booster {
|
||||||
|
// _Bool owned_by_ssw; // if False, this is not deallocated by parent ssw
|
||||||
|
const booster_t *b;
|
||||||
|
complex double *bessels;
|
||||||
|
} boosterw_t;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -206,6 +206,9 @@ static inline const qpms_vswf_set_spec_t *qpms_ss_bspec_pi(const qpms_scatsys_t
|
||||||
return ss->tmg[ss->tm[ss->p[pi].tmatrix_id].tmgi].spec;
|
return ss->tmg[ss->tm[ss->p[pi].tmatrix_id].tmgi].spec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct qpms_scatsysw_translation_booster;
|
||||||
|
void qpms_scatsysw_translation_booster_free(struct qpms_scatsysw_translation_booster *);
|
||||||
|
|
||||||
typedef struct qpms_scatsys_at_omega_t {
|
typedef struct qpms_scatsys_at_omega_t {
|
||||||
const qpms_scatsys_t *ss; ///< Parent scattering system.
|
const qpms_scatsys_t *ss; ///< Parent scattering system.
|
||||||
/// T-matrices from \a ss, evaluated at \a omega.
|
/// T-matrices from \a ss, evaluated at \a omega.
|
||||||
|
@ -216,6 +219,8 @@ typedef struct qpms_scatsys_at_omega_t {
|
||||||
complex double omega; ///< Angular frequency
|
complex double omega; ///< Angular frequency
|
||||||
qpms_epsmu_t medium; ///< Background medium optical properties at the given frequency
|
qpms_epsmu_t medium; ///< Background medium optical properties at the given frequency
|
||||||
complex double wavenumber; ///< Background medium wavenumber
|
complex double wavenumber; ///< Background medium wavenumber
|
||||||
|
|
||||||
|
struct qpms_scatsysw_translation_booster *translation_cache; ///< (private) cache to speedup tranlations
|
||||||
} qpms_scatsys_at_omega_t;
|
} qpms_scatsys_at_omega_t;
|
||||||
|
|
||||||
/// Creates a new scatsys by applying a symmetry group onto a "proto-scatsys", copying particles if needed.
|
/// Creates a new scatsys by applying a symmetry group onto a "proto-scatsys", copying particles if needed.
|
||||||
|
|
Loading…
Reference in New Issue