finesse.components.general.Connector
¶
Overview
- class finesse.components.general.Connector(name)[source]¶
Bases:
finesse.element.ModelElement
Base class for any component which connects nodes together.
Internally it stores the nodes and the connections associated with the component. During the matrix build this class will then ensure that the matrix elements for each coupling requested are allocated and and the required matrix view for editing their values is retrieved.
The inheriting class should call
_register_node
and_register_coupling
to define the connections it wants to use.- Parameters
name : str
Name of the new Connector instance.
Properties
The electrical nodes stored by the connector. |
|
The mechanical nodes stored by the connector. |
|
All the nodes of all the ports at this component. |
|
The optical nodes stored by the connector. |
|
Retrieves the ports available at the object. |
Methods
|
|
|
|
|
Checks that a coupling exists between from_node -> to_node and raises a |
|
Obtains the type of coupling (see |
|
Obtains the type of interaction (see |
|
Flags whether the provided node coupling exists at this connector. |
|
Register an ABCD matrix of the given symbolic form for a sequence of coupling(s). |