你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Added ID property.
这个提交包含在:
@@ -28,6 +28,7 @@ class VoltageSource:
|
|||||||
"""The voltage source can be a hard source if it's resistance is zero, i.e. the time variation of the specified electric field component is prescribed. If it's resistance is non-zero it behaves as a resistive voltage source."""
|
"""The voltage source can be a hard source if it's resistance is zero, i.e. the time variation of the specified electric field component is prescribed. If it's resistance is non-zero it behaves as a resistive voltage source."""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
self.ID = None
|
||||||
self.polarisation = None
|
self.polarisation = None
|
||||||
self.xcoord = None
|
self.xcoord = None
|
||||||
self.ycoord = None
|
self.ycoord = None
|
||||||
@@ -106,6 +107,7 @@ class HertzianDipole:
|
|||||||
"""The Hertzian dipole is an additive source (electric current density)."""
|
"""The Hertzian dipole is an additive source (electric current density)."""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
self.ID = None
|
||||||
self.polarisation = None
|
self.polarisation = None
|
||||||
self.xcoord = None
|
self.xcoord = None
|
||||||
self.ycoord = None
|
self.ycoord = None
|
||||||
@@ -147,6 +149,7 @@ class MagneticDipole:
|
|||||||
"""The magnetic dipole is an additive source (magnetic current density)."""
|
"""The magnetic dipole is an additive source (magnetic current density)."""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
self.ID = None
|
||||||
self.polarisation = None
|
self.polarisation = None
|
||||||
self.xcoord = None
|
self.xcoord = None
|
||||||
self.ycoord = None
|
self.ycoord = None
|
||||||
@@ -193,6 +196,7 @@ class TransmissionLine:
|
|||||||
G (class): Grid class instance - holds essential parameters describing the model.
|
G (class): Grid class instance - holds essential parameters describing the model.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
self.ID = None
|
||||||
self.polarisation = None
|
self.polarisation = None
|
||||||
self.xcoord = None
|
self.xcoord = None
|
||||||
self.ycoord = None
|
self.ycoord = None
|
||||||
|
在新工单中引用
屏蔽一个用户