你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Fix within_bounds including the positive halo
这个提交包含在:
@@ -773,7 +773,7 @@ class MPIGrid(FDTDGrid):
|
||||
if gz < 0 or gz > self.gz:
|
||||
raise ValueError("z")
|
||||
|
||||
return all(local_point >= self.negative_halo_offset) and all(local_point <= self.size)
|
||||
return all(local_point >= self.negative_halo_offset) and all(local_point < self.size)
|
||||
|
||||
def within_pml(self, local_point: npt.NDArray[np.int32]) -> bool:
|
||||
"""Check if the provided point is within a PML.
|
||||
|
在新工单中引用
屏蔽一个用户