你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Revert previous change
这个提交包含在:
@@ -595,6 +595,11 @@ class CUDAUpdates:
|
||||
grid=self.grid.bpg,
|
||||
)
|
||||
|
||||
def update_magnetic_pml(self):
|
||||
"""Updates magnetic field components with the PML correction."""
|
||||
for pml in self.grid.pmls["slabs"]:
|
||||
pml.update_magnetic()
|
||||
|
||||
def update_magnetic_sources(self):
|
||||
"""Updates magnetic field components from sources."""
|
||||
if self.grid.magneticdipoles:
|
||||
@@ -657,6 +662,11 @@ class CUDAUpdates:
|
||||
grid=self.grid.bpg,
|
||||
)
|
||||
|
||||
def update_electric_pml(self):
|
||||
"""Updates electric field components with the PML correction."""
|
||||
for pml in self.grid.pmls["slabs"]:
|
||||
pml.update_electric()
|
||||
|
||||
def update_electric_sources(self):
|
||||
"""Updates electric field components from sources -
|
||||
update any Hertzian dipole sources last.
|
||||
@@ -1159,6 +1169,11 @@ class OpenCLUpdates:
|
||||
)
|
||||
event.wait()
|
||||
|
||||
def update_magnetic_pml(self):
|
||||
"""Updates magnetic field components with the PML correction."""
|
||||
for pml in self.grid.pmls["slabs"]:
|
||||
pml.update_magnetic()
|
||||
|
||||
def update_magnetic_sources(self):
|
||||
"""Updates magnetic field components from sources."""
|
||||
if self.grid.magneticdipoles:
|
||||
@@ -1218,6 +1233,11 @@ class OpenCLUpdates:
|
||||
|
||||
event.wait()
|
||||
|
||||
def update_electric_pml(self):
|
||||
"""Updates electric field components with the PML correction."""
|
||||
for pml in self.grid.pmls["slabs"]:
|
||||
pml.update_electric()
|
||||
|
||||
def update_electric_sources(self):
|
||||
"""Updates electric field components from sources -
|
||||
update any Hertzian dipole sources last.
|
||||
|
在新工单中引用
屏蔽一个用户