你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
Fixed PML when called by hash command
这个提交包含在:
@@ -278,16 +278,12 @@ class PMLProps(UserObjectSingle):
|
||||
|
||||
def create(self, G, uip):
|
||||
try:
|
||||
formulation = self.kwargs['formulation']
|
||||
G.pmls['formulation'] = self.kwargs['formulation']
|
||||
if G.pmls['formulation'] not in PML.formulations:
|
||||
logger.exception(self.__str__() + f" requires the value to be " +
|
||||
f"one of {' '.join(PML.formulations)}")
|
||||
except KeyError:
|
||||
logger.exception(self.__str__() + ' requires the formulation of PML to use')
|
||||
raise
|
||||
if formulation not in PML.formulations:
|
||||
logger.exception(self.__str__() + f" requires the value to be one " +
|
||||
f"of {' '.join(PML.formulations)}")
|
||||
raise ValueError
|
||||
|
||||
G.pmls['formulation'] = formulation
|
||||
pass
|
||||
|
||||
try:
|
||||
thickness = self.kwargs['thickness']
|
||||
|
在新工单中引用
屏蔽一个用户