你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
round fractal box points for discretisation
这个提交包含在:
@@ -99,13 +99,13 @@ class FractalBox(UserObjectGeometry):
|
|||||||
# if they havent specfied - go with the grid default
|
# if they havent specfied - go with the grid default
|
||||||
averagefractalbox = False
|
averagefractalbox = False
|
||||||
|
|
||||||
|
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
|
xs, ys, zs = p1
|
||||||
xf, yf, zf = p2
|
xf, yf, zf = p2
|
||||||
|
|
||||||
p3 = uip.round_to_grid_static_point(p1)
|
|
||||||
p4 = uip.round_to_grid_static_point(p2)
|
|
||||||
|
|
||||||
if frac_dim < 0:
|
if frac_dim < 0:
|
||||||
logger.exception(self.__str__() + ' requires a positive value for the fractal dimension')
|
logger.exception(self.__str__() + ' requires a positive value for the fractal dimension')
|
||||||
raise ValueError
|
raise ValueError
|
||||||
|
在新工单中引用
屏蔽一个用户