Draft: Additions enabling QBMAX

This MR includes changes needed for QBMAX.

For details, see pytential!214 (closed)

Some rationales for the changes:

  1. The original coefficients_from_source works when the kernel is a function of a+b, which is on longer the case when target-dependent scaling is included.

  2. Besides the altered expansion, the code generation part needs to receive a copy of the scaling expression to scale the results back.

Edited by Xiaoyu Wei

Merge request reports

Loading