Updates for version 3.1.0 - Big Smoke. These updates are predominately to enable gprMax to be run on GPUs using NVIDIA CUDA.
26
tests/models_basic/pmls/pmls.in
可执行文件
@@ -0,0 +1,26 @@
|
||||
#title: PMLs
|
||||
#domain: 0.051 0.126 0.026
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 2100
|
||||
|
||||
#pml_cells: 0 0 0 0 0 10
|
||||
|
||||
## Built-in 1st order PML
|
||||
pml_cfs: constant forward 0 0 constant forward 1 1 quartic forward 0 None
|
||||
|
||||
## PMLs from http://dx.doi.org/10.1109/TAP.2011.2180344
|
||||
## Standard PML
|
||||
pml_cfs: constant forward 0 0 quartic forward 1 11 quartic forward 0 7.427
|
||||
|
||||
## CFS PML
|
||||
pml_cfs: constant forward 0.05 0.05 quartic forward 1 7 quartic forward 0 11.671
|
||||
|
||||
## O2 RIPML
|
||||
#pml_cfs: constant forward 0 0 constant forward 1 1 sextic forward 0 0.5836
|
||||
#pml_cfs: constant forward 0.05 0.05 cubic forward 1 8 quadratic forward 0 5.8357
|
||||
|
||||
#waveform: gaussiandotnorm 1 9.42e9 mypulse
|
||||
#hertzian_dipole: z 0.013 0.013 0.015 mypulse
|
||||
#rx: 0.037 0.112 0.015
|
||||
|
||||
#box: 0.013 0.013 0.013 0.038 0.113 0.014 pec
|
之后 宽度: | 高度: | 大小: 331 KiB |
之后 宽度: | 高度: | 大小: 330 KiB |
之后 宽度: | 高度: | 大小: 339 KiB |
之后 宽度: | 高度: | 大小: 341 KiB |
之后 宽度: | 高度: | 大小: 317 KiB |
之后 宽度: | 高度: | 大小: 318 KiB |
之后 宽度: | 高度: | 大小: 332 KiB |
之后 宽度: | 高度: | 大小: 330 KiB |
之后 宽度: | 高度: | 大小: 340 KiB |
之后 宽度: | 高度: | 大小: 342 KiB |
之后 宽度: | 高度: | 大小: 316 KiB |
之后 宽度: | 高度: | 大小: 318 KiB |
@@ -44,7 +44,7 @@ basepath += 'basic'
|
||||
# basepath += 'advanced'
|
||||
|
||||
# List of available basic test models
|
||||
testmodels = ['hertzian_dipole_fs_analytical', '2D_ExHyHz', '2D_EyHxHz', '2D_EzHxHy', 'cylinder_Ascan_2D', 'hertzian_dipole_fs', 'hertzian_dipole_hs', 'hertzian_dipole_dispersive', 'magnetic_dipole_fs']
|
||||
testmodels = ['hertzian_dipole_fs_analytical', '2D_ExHyHz', '2D_EyHxHz', '2D_EzHxHy', 'cylinder_Ascan_2D', 'hertzian_dipole_fs', 'hertzian_dipole_hs', 'hertzian_dipole_dispersive', 'magnetic_dipole_fs', 'pmls']
|
||||
|
||||
# List of available advanced test models
|
||||
# testmodels = ['antenna_GSSI_1500_fs', 'antenna_MALA_1200_fs']
|
||||
@@ -63,7 +63,7 @@ for i, model in enumerate(testmodels):
|
||||
testresults[model] = {}
|
||||
|
||||
# Run model
|
||||
api(os.path.join(basepath, model + os.path.sep + model + '.in'))
|
||||
api(os.path.join(basepath, model + os.path.sep + model + '.in'), gpu=None)
|
||||
|
||||
# Special case for analytical comparison
|
||||
if model == 'hertzian_dipole_fs_analytical':
|
||||
|