你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Moved setting material averagable to False for infinite conductivity, i.e. PEC, to module where material command is initially read, i.e. input_cmds_multiuse.py
这个提交包含在:
@@ -156,11 +156,7 @@ def process_materials(G):
|
||||
else:
|
||||
materialsdata = [['\nID', '\nName', '\nType', '\neps_r', 'sigma\n[S/m]', '\nDelta eps_r', 'tau\n[s]', 'omega\n[Hz]', 'delta\n[Hz]', 'gamma\n[Hz]', '\nmu_r', 'sigma*\n[S/m]', 'Dielectric\nsmoothable']]
|
||||
|
||||
for material in G.materials:
|
||||
# Set material averaging to False if infinite conductivity, i.e. pec
|
||||
if material.se == float('inf'):
|
||||
material.averagable = False
|
||||
|
||||
for material in G.materials:
|
||||
# Calculate update coefficients for material
|
||||
material.calculate_update_coeffsE(G)
|
||||
material.calculate_update_coeffsH(G)
|
||||
|
在新工单中引用
屏蔽一个用户