acoustotreams.ScalarSphericalWaveBasis.defaultdim¶
- static ScalarSphericalWaveBasis.defaultdim(lmax, nmax=1)[source]¶
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 lmax=-1 is allowed.- Parameters:
lmax (int) – Maximal multipolar order
nmax (int, optional) – Number of particles, defaults to 1
- Returns:
int