finesse.simulations.sparse.solver.SparseSolver

Overview

class finesse.simulations.sparse.solver.SparseSolver(matrix_type, unicode name, list nodes, FrequencyContainer optical_frequencies, dict signal_frequencies, bool is_signal_matrix, bool forced_refill, dict node_aliases, int num_optical_homs)

Bases: HOMSolver

This class overrides the BaseSolver and adds the features required to use a sparse (compressed column, CCS) matrix. The type of sparse solver is not assumed here and must be provided by the matrix_type argument. This should be inherited and the matrix type provided for specific linear algebra solvers.

Notes

This is the original solver used in Finesse 3.

Properties

SparseSolver.M

A weak reference to the underlying Matrix object.

Methods