你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Changed roundvalue function to round_value.
这个提交包含在:
@@ -20,7 +20,7 @@ import numpy as np
|
|||||||
|
|
||||||
from gprMax.constants import c, floattype
|
from gprMax.constants import c, floattype
|
||||||
from gprMax.grid import Ix, Iy, Iz
|
from gprMax.grid import Ix, Iy, Iz
|
||||||
from gprMax.utilities import roundvalue
|
from gprMax.utilities import round_value
|
||||||
|
|
||||||
|
|
||||||
class VoltageSource:
|
class VoltageSource:
|
||||||
@@ -182,7 +182,7 @@ class TransmissionLine:
|
|||||||
self.dl = c * G.dt
|
self.dl = c * G.dt
|
||||||
|
|
||||||
# Number of nodes in the transmission line (initially a long line to calculate incident voltage and current); consider putting ABCs/PML at end
|
# Number of nodes in the transmission line (initially a long line to calculate incident voltage and current); consider putting ABCs/PML at end
|
||||||
self.nl = roundvalue(0.667 * G.iterations)
|
self.nl = round_value(0.667 * G.iterations)
|
||||||
|
|
||||||
# Nodal position of the one-way injector excitation in the transmission line
|
# Nodal position of the one-way injector excitation in the transmission line
|
||||||
self.srcpos = 5
|
self.srcpos = 5
|
||||||
|
在新工单中引用
屏蔽一个用户