Removed unused funcs

这个提交包含在:
Craig Warren
2023-09-04 14:50:36 +01:00
父节点 af374440d9
当前提交 da7be0133d

查看文件

@@ -433,19 +433,6 @@ class CUDAPML(PML):
1,
)
def get_update_funcs(self, kernelselectric, kernelsmagnetic):
"""Gets update functions from PML kernels.
Args:
kernelselectric: pycuda SourceModule containing PML kernels for
electric updates.
kernelsmagnetic: pycuda SourceModule containing PML kernels for
magnetic updates.
"""
self.update_electric_dev = kernelselectric.get_function("order" + str(len(self.CFS)) + "_" + self.direction)
self.update_magnetic_dev = kernelsmagnetic.get_function("order" + str(len(self.CFS)) + "_" + self.direction)
def update_electric(self):
"""Updates electric field components with the PML correction on the GPU."""
self.update_electric_dev(
@@ -549,12 +536,6 @@ class OpenCLPML(PML):
self.HPhi1_dev = clarray.to_device(self.queue, self.HPhi1)
self.HPhi2_dev = clarray.to_device(self.queue, self.HPhi2)
def set_blocks_per_grid():
pass
def get_update_funcs():
pass
def update_electric(self):
"""Updates electric field components with the PML correction on the
compute device.