@@ -86,6 +86,10 @@ class DeviceCharacteristics(Tidy3dBaseModel):
86
86
87
87
88
88
class AbstractHeatChargeSimulationData (AbstractSimulationData , ABC ):
89
+ """Abstract class for HeatChargeSimulation results, or VolumeMesher results."""
90
+
91
+
92
+ class HeatChargeSimulationData (AbstractHeatChargeSimulationData ):
89
93
"""Stores results of a :class:`HeatChargeSimulation`.
90
94
91
95
Example
@@ -358,10 +362,6 @@ def plot_field(
358
362
return ax
359
363
360
364
361
- class HeatChargeSimulationData (AbstractHeatChargeSimulationData ):
362
- pass
363
-
364
-
365
365
class HeatSimulationData (HeatChargeSimulationData ):
366
366
"""DEPRECATED: Wrapper for Heat Simulation data.
367
367
@@ -394,19 +394,19 @@ class VolumeMesherData(AbstractHeatChargeSimulationData):
394
394
description = "Original :class:`VolumeMesher` associated with the data." ,
395
395
)
396
396
397
+ monitors : tuple [VolumeMeshMonitor , ...] = pd .Field (
398
+ ...,
399
+ title = "Monitors" ,
400
+ description = "List of monitors to be used for the mesher." ,
401
+ )
402
+
397
403
data : tuple [VolumeMeshData , ...] = pd .Field (
398
404
...,
399
405
title = "Monitor Data" ,
400
406
description = "List of :class:`.MonitorData` instances "
401
407
"associated with the monitors of the original :class:`.VolumeMesher`." ,
402
408
)
403
409
404
- monitors : tuple [VolumeMeshMonitor , ...] = pd .Field (
405
- ...,
406
- title = "Monitors" ,
407
- description = "List of monitors to be used for the mesher." ,
408
- )
409
-
410
410
@property
411
411
def mesher (self ) -> VolumeMesher :
412
412
"""Get the mesher associated with this mesher data."""
0 commit comments