你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Updated with ruff formatter
这个提交包含在:
@@ -1,9 +1,8 @@
|
||||
"""A series of models with different domain sizes used for benchmarking.
|
||||
The domain is free space with a simple source (Hertzian Dipole) and
|
||||
receiver at the centre.
|
||||
The domain is free space with a simple source (Hertzian Dipole) and
|
||||
receiver at the centre.
|
||||
"""
|
||||
|
||||
|
||||
import itertools
|
||||
from pathlib import Path
|
||||
|
||||
@@ -36,7 +35,9 @@ for d, threads in itertools.product(domains, ompthreads):
|
||||
dxdydz = gprMax.Discretisation(p1=(dl, dl, dl))
|
||||
time_window = gprMax.TimeWindow(time=3e-9)
|
||||
wv = gprMax.Waveform(wave_type="gaussiandotnorm", amp=1, freq=900e6, id="MySource")
|
||||
src = gprMax.HertzianDipole(p1=(x / 2, y / 2, z / 2), polarisation="x", waveform_id="MySource")
|
||||
src = gprMax.HertzianDipole(
|
||||
p1=(x / 2, y / 2, z / 2), polarisation="x", waveform_id="MySource"
|
||||
)
|
||||
|
||||
omp = gprMax.OMPThreads(n=threads)
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户