你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Correction to location of Vtotal and Itotal for transmission line.
这个提交包含在:
@@ -134,8 +134,8 @@ def write_output(f, timestep, Ex, Ey, Ez, Hx, Hy, Hz, G):
|
|||||||
|
|
||||||
if G.transmissionlines:
|
if G.transmissionlines:
|
||||||
for tlindex, tl in enumerate(G.transmissionlines):
|
for tlindex, tl in enumerate(G.transmissionlines):
|
||||||
f['/tls/tl' + str(tlindex + 1) + '/Vtotal'][timestep] = tl.voltage[tl.antpos - 1]
|
f['/tls/tl' + str(tlindex + 1) + '/Vtotal'][timestep] = tl.voltage[tl.antpos]
|
||||||
f['/tls/tl' + str(tlindex + 1) + '/Itotal'][timestep] = tl.current[tl.antpos - 1]
|
f['/tls/tl' + str(tlindex + 1) + '/Itotal'][timestep] = tl.current[tl.antpos]
|
||||||
|
|
||||||
# Field writing when converting old style output file to HDF5 format
|
# Field writing when converting old style output file to HDF5 format
|
||||||
else:
|
else:
|
||||||
|
在新工单中引用
屏蔽一个用户