你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
get sources def
这个提交包含在:
@@ -283,6 +283,9 @@ class FDTDGrid:
|
||||
# binary representation of floating point number.
|
||||
self.dt = round_value(self.dt, decimalplaces=d.getcontext().prec - 1)
|
||||
|
||||
def get_srcs(self):
|
||||
return self.hertziandipoles + self.magneticdipoles + self.voltagesources + self.transmissionlines
|
||||
|
||||
|
||||
class CUDAGrid(FDTDGrid):
|
||||
"""Additional grid methods for solving on GPU using CUDA."""
|
||||
|
在新工单中引用
屏蔽一个用户