treams.CylindricalWaveBasis.defaultdim

static CylindricalWaveBasis.defaultdim(nkz, mmax, nmax=1)

Default number of modes for a given mulipolar order.

Given the maximal value of l return the size of the corresponding T-matrix. This is the inverse of defaultlmax(). A value of zero is allowed.

Parameters:
  • nkz (int) – Number of z-components of the wave vector.

  • mmax (int) – Maximal value of the angular momentum’s z-component.

  • nmax (int, optional) – Number of particles, defaults to 1.

Returns:

int