QPMS Electromagnetic multiple scattering library and toolkit.
qpms_vswf_set_spec_t Struct Reference

Specifies a finite set of VSWFs. More...

#include <qpms_types.h>

## Data Fields

size_t n
Actual number of VSWF indices included in ilist.

qpms_uvswfi_tilist

qpms_l_t lMax
Maximum degree of the waves specified in ilist overall. More...

qpms_l_t lMax_M
Maximum degree of the magnetic (M-type) waves. More...

qpms_l_t lMax_N
Maximum degree of the electric (N-type) waves. More...

qpms_l_t lMax_L
Maximum degree of the longitudinal (L-type) waves. More...

size_t capacity
Allocated capacity of ilist.

qpms_normalisation_t norm
Normalisation convention. To be set manually if needed.

## Detailed Description

Specifies a finite set of VSWFs.

When for example not all the M and N -type waves up to a degree lMax need to be computed, this will specify the subset.

A typical use case would be when only even/odd fields wrt. z-plane mirror symmetry are considered.

See vswf.h for "methods".

## ◆ ilist

 qpms_uvswfi_t* qpms_vswf_set_spec_t::ilist

List of wave indices.

## ◆ lMax

 qpms_l_t qpms_vswf_set_spec_t::lMax

Maximum degree of the waves specified in ilist overall.

max(lMax_M, lMax_N, lMax_L)

## ◆ lMax_L

 qpms_l_t qpms_vswf_set_spec_t::lMax_L

Maximum degree of the longitudinal (L-type) waves.

Set to -1 if no longitudinal waves present.

## ◆ lMax_M

 qpms_l_t qpms_vswf_set_spec_t::lMax_M

Maximum degree of the magnetic (M-type) waves.

Set to 0 if no magnetic waves present.

## ◆ lMax_N

 qpms_l_t qpms_vswf_set_spec_t::lMax_N

Maximum degree of the electric (N-type) waves.

Set to 0 if no electric waves present.

The documentation for this struct was generated from the following file: