File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
tidy3d/components/tcad/simulation Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -662,12 +662,10 @@ def check_charge_simulation(cls, values):
662662 "but none have been defined."
663663 )
664664
665- # NOTE: SteadyPotentialMonitor and SteadyFreeCarrierMonitor are only supported
666- # for unstructured = True
665+ # NOTE: in Charge we're only supporting unstructured monitors.
666+ # only Temperature and Potential monitors can be structured.
667667 for mnt in monitors :
668- if isinstance (mnt , SteadyPotentialMonitor ) or isinstance (
669- mnt , SteadyFreeCarrierMonitor
670- ):
668+ if isinstance (mnt , SteadyPotentialMonitor ) or isinstance (mnt , TemperatureMonitor ):
671669 if not mnt .unstructured :
672670 log .warning (
673671 "Currently, Charge simulations support only unstructured monitors. Please set "
You can’t perform that action at this time.
0 commit comments