acoustotreams.ScalarCylindricalWaveBasis.defaultdim¶
- static ScalarCylindricalWaveBasis.defaultdim(nkz, mmax, nmax=1)[source]¶
Calculate the number of modes for a given mulipolar order.
Return the dimension of the T-matrix given the maximum value of m and number of k_z components. A value of zero is allowed.
- Parameters:
nkz (int) – Number of Z-components of the wave vector.
mmax (int) – Maximum value of the order.
nmax (int, optional) – Number of scatterers. Defaults to 1.
- Returns:
int