jackhamel16 / Acoustics

Acoustic integral equation solver
1 stars 0 forks source link

fix unnecessary calls of sphericalHarmonics in scattering matrix calculation #119

Open jackhamel16 opened 2 years ago

jackhamel16 commented 2 years ago

I only need to call sphericalHarmonics() once for the highest degree I need because it computes all lesser harmonics. I call it for each harmonic I need thus wasting A LOT of time.