|
26 | 26 | from tidy3d.components.tcad.simulation.heat import HeatSimulation
|
27 | 27 | from tidy3d.components.tcad.simulation.heat_charge import HeatChargeSimulation
|
28 | 28 | from tidy3d.plugins.mode.mode_solver import ModeSolver
|
29 |
| -from tidy3d.plugins.smatrix import TerminalComponentModeler |
30 | 29 | from tidy3d.web.core.file_util import (
|
31 | 30 | read_simulation_from_hdf5,
|
32 | 31 | read_simulation_from_hdf5_gz,
|
|
43 | 42 | ModeSolver,
|
44 | 43 | ModeSimulation,
|
45 | 44 | VolumeMesher,
|
46 |
| - TerminalComponentModeler, |
47 | 45 | ]
|
48 | 46 | SimulationDataType = Union[
|
49 | 47 | SimulationData,
|
@@ -102,9 +100,6 @@ def from_file(cls, file_path: str) -> SimulationType:
|
102 | 100 | sim = ModeSimulation.from_file(file_path)
|
103 | 101 | elif type_ == "VolumeMesher":
|
104 | 102 | sim = VolumeMesher.from_file(file_path)
|
105 |
| - elif type_ == "TerminalComponentModeler": |
106 |
| - # TODO Remove: An aberration this is here, but alas necessity. |
107 |
| - sim = TerminalComponentModeler.from_file(file_path) |
108 | 103 |
|
109 | 104 | return sim
|
110 | 105 |
|
@@ -167,8 +162,6 @@ def get_type(self) -> str:
|
167 | 162 | return TaskType.MODE.name
|
168 | 163 | elif isinstance(self.simulation, VolumeMesher):
|
169 | 164 | return TaskType.VOLUME_MESH.name
|
170 |
| - if isinstance(self.simulation, TerminalComponentModeler): |
171 |
| - return TaskType.TERMINAL_COMPONENT_MODELER.name |
172 | 165 |
|
173 | 166 | def validate_pre_upload(self, source_required) -> None:
|
174 | 167 | """Perform some pre-checks on instances of component"""
|
|
0 commit comments