Loading [MathJax]/jax/output/CommonHTML/jax.js

GetMultipoleIntegral

GetMultipoleIntegral(k,f1,f2,N) calculates the k-th multipole moment f1(r)rkf2(r)dr

The Integral is calculated over the full domain of the interpolation function f1, where a Gaussian quadrature rule with N points between each two knots of the interpolated function is used.

Input

  • k : Integer
  • f1,f2 : InterpolatingFunction
  • N : Integer - optional - defines the number of gaussian weights per interval that are used to integrate (N 7)

Output

  • real

Table of contents

Print/export