Merge pull request #1746 from paulromano/wmp-performance-opt

Performance optimizations for windowed multipole
This commit is contained in:
Gavin Ridley 2021-01-20 12:59:30 -05:00 committed by GitHub
commit c262407af5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 122 additions and 111 deletions

View file

@ -17,13 +17,13 @@ Windowed Multipole Library Format
If 1, Doppler broaden curve fit for window with corresponding index.
If 0, do not.
- **curvefit** (*double[][][]*)
Curve fit coefficients. Indexed by (reaction type, coefficient index,
window index).
Curve fit coefficients. Indexed by (window index, coefficient index,
reaction type).
- **data** (*complex[][]*)
Complex poles and residues. Each pole has a corresponding set of
residues. For example, the :math:`i`-th pole and corresponding residues
are stored as
.. math::
\text{data}[:,i] = [\text{pole},~\text{residue}_1,~\text{residue}_2,
~\ldots]