Tuesday, July 27, 2004

Calculating electromagnetic waves in accelerator cavities using Python

Calculating electromagnetic waves in accelerator cavities using Python: "

PySparse extends the Python interpreter by a set of sparse matrix types holding double precision values.
PySparse also includes modules that implement


  • iterative methods for solving linear systems of equations
  • a set of standard preconditioners
  • an interface to a direct solver for sparse linear systems of equations (SuperLU)
  • a Jacobi-Davidson eigenvalue solver for the symmetric, generalised matrix eigenvalue problem (JDSYM)



    All these modules are implemented as C extension modules for maximum performance.

    PySparse uses Numerical Python (NumPy) for handling dense vectors and matrices and makes use of SuperLU for factorising sparse matrices."