你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Account for extra value returned by check_box_points
这个提交包含在:
@@ -107,7 +107,7 @@ class SubGridBase(ModelUserObject):
|
||||
p2 = self.kwargs["p2"]
|
||||
|
||||
uip = self._create_uip(model.G)
|
||||
p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
_, p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
|
||||
self.set_discretisation(sg, model.G)
|
||||
|
||||
|
@@ -99,7 +99,7 @@ class AddGrass(RotatableMixin, GeometryUserObject):
|
||||
raise
|
||||
|
||||
uip = self._create_uip(grid)
|
||||
p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
_, p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
xs, ys, zs = p1
|
||||
xf, yf, zf = p2
|
||||
|
||||
|
@@ -99,7 +99,7 @@ class AddSurfaceRoughness(RotatableMixin, GeometryUserObject):
|
||||
raise ValueError
|
||||
|
||||
uip = self._create_uip(grid)
|
||||
p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
_, p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
xs, ys, zs = p1
|
||||
xf, yf, zf = p2
|
||||
|
||||
|
@@ -81,7 +81,7 @@ class AddSurfaceWater(RotatableMixin, GeometryUserObject):
|
||||
raise ValueError
|
||||
|
||||
uip = self._create_uip(grid)
|
||||
p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
_, p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
xs, ys, zs = p1
|
||||
xf, yf, zf = p2
|
||||
|
||||
|
@@ -71,7 +71,7 @@ class Edge(RotatableMixin, GeometryUserObject):
|
||||
p3 = uip.round_to_grid_static_point(p1)
|
||||
p4 = uip.round_to_grid_static_point(p2)
|
||||
|
||||
p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
_, p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
xs, ys, zs = p1
|
||||
xf, yf, zf = p2
|
||||
|
||||
|
@@ -110,7 +110,7 @@ class FractalBox(RotatableMixin, GeometryUserObject):
|
||||
p3 = uip.round_to_grid_static_point(p1)
|
||||
p4 = uip.round_to_grid_static_point(p2)
|
||||
|
||||
p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
_, p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
xs, ys, zs = p1
|
||||
xf, yf, zf = p2
|
||||
|
||||
|
@@ -81,7 +81,7 @@ class Plate(RotatableMixin, GeometryUserObject):
|
||||
p3 = uip.round_to_grid_static_point(p1)
|
||||
p4 = uip.round_to_grid_static_point(p2)
|
||||
|
||||
p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
_, p1, p2 = uip.check_box_points(p1, p2, self.__str__())
|
||||
xs, ys, zs = p1
|
||||
xf, yf, zf = p2
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户