你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Refactor PMLCFS UserObject build process
这个提交包含在:
@@ -1956,7 +1956,7 @@ class PMLCFS(UserObjectMulti):
|
|||||||
super().__init__(**kwargs)
|
super().__init__(**kwargs)
|
||||||
self.order = 19
|
self.order = 19
|
||||||
|
|
||||||
def build(self, grid, uip):
|
def build(self, model, uip):
|
||||||
try:
|
try:
|
||||||
alphascalingprofile = self.kwargs["alphascalingprofile"]
|
alphascalingprofile = self.kwargs["alphascalingprofile"]
|
||||||
alphascalingdirection = self.kwargs["alphascalingdirection"]
|
alphascalingdirection = self.kwargs["alphascalingdirection"]
|
||||||
@@ -2042,6 +2042,7 @@ class PMLCFS(UserObjectMulti):
|
|||||||
f"{cfssigma.min:g}, max: {cfssigma.max}) created."
|
f"{cfssigma.min:g}, max: {cfssigma.max}) created."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
grid = uip.grid
|
||||||
grid.pmls["cfs"].append(cfs)
|
grid.pmls["cfs"].append(cfs)
|
||||||
|
|
||||||
if len(grid.pmls["cfs"]) > 2:
|
if len(grid.pmls["cfs"]) > 2:
|
||||||
|
在新工单中引用
屏蔽一个用户