Program to calculate the spectral harmonic expansion coefficients of the two scalar fields product

Abstract A program to compute the spectral harmonic expansion coefficients of the product of two triangular truncated scalar fields is presented. The calculations are performed by a transform method which is more computer efficient relative to the traditional interaction coefficient approach or finite-difference method.