finesse.simulations.basematrix.MatrixSystemSolver¶
Overview
- class finesse.simulations.basematrix.MatrixSystemSolver(matrix_type, unicode name, list nodes, FrequencyContainer optical_frequencies, dict signal_frequencies, int num_optical_homs, bool is_signal_matrix, bool forced_refill, dict node_map)¶
- Bases: - object- A linear set of systems can be represented as a matrix, each equation in this system is a particular state which we want to compute. The system is solved by applying some inputs into various states, or the right hand side (RHS) vector, and solving the system. - The underlying matrix can be either a sparse or dense matrix. This class should not assume either, but merely call upon a standard matrix interface. Therefore the algorithm used for solving can varying significantly. The overall matrix is sectioned into submatricies which connect various states together. - Nodes represent a physical location in the model in which some state of the system must be computed. Some nodes can have multiple states, such as multiple optical modes. 
Properties
| A weak reference to the underlying Matrix object. | 
Methods
| 
 | |
| 
 | Returns a matrix for the submatrix an element has requested for different connections it needs. The key is::. | 
| 
 | Returns simulation unique index of a field at a particular frequency index at this node. | 
| 
 | Returns simulation unique index for a given frequency at this node. | 
| Get a  | |
| 
 | For a given node (object or name) the key parameters for where this node is represented in the matrix of linear equations is returned in a NodeInfoEntry object. | 
| 
 | |
| 
 | |
| 
 | Executes the simulation for model in its current state. | 
| 
 | |
| 
 |