你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-06 20:46:52 +08:00
Changed roundvalue function to round_value.
这个提交包含在:
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from gprMax.utilities import roundvalue
|
from gprMax.utilities import round_value
|
||||||
|
|
||||||
|
|
||||||
class Waveform:
|
class Waveform:
|
||||||
@@ -96,7 +96,7 @@ class Waveform:
|
|||||||
waveform = 0
|
waveform = 0
|
||||||
|
|
||||||
elif self.type == 'user':
|
elif self.type == 'user':
|
||||||
index = roundvalue(time / dt)
|
index = round_value(time / dt)
|
||||||
# Check to see if there are still user specified values and if not use zero
|
# Check to see if there are still user specified values and if not use zero
|
||||||
if index > len(self.uservalues) - 1:
|
if index > len(self.uservalues) - 1:
|
||||||
waveform = 0
|
waveform = 0
|
||||||
|
在新工单中引用
屏蔽一个用户