finesse.simulations.homsolver.HOMSolver
¶
Overview
- class finesse.simulations.homsolver.HOMSolver(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:
BaseSolver
This is class provides an interface for generic simulations that are solving for a vector of higher order modes at each node. This allows detectors and other calculation code to be able to perform the same calculations without being specified. This class should be inherited to provide specific implmentations. Considerations are:
HOM vector at each node should be contiguous in memory
Not all nodes will have a HOM vector if it isn’t being solved for
Signal nodes will have a single “HOM”
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. |
|
|
|
For a given node (object or name) the key parameters for where this node is represented in the matrix of linear equations. |
|
|
|
Returns the higher order mode field vector of a given node at a specific frequency index. |
|
|
|