你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Remove add_surface_roughness_half test
- The functionality this tested is better tested by the new add_surface_roughness_boundaries test
这个提交包含在:
@@ -1,14 +0,0 @@
|
||||
#title: Heterogeneous soil using a stochastic distribution of dielectric properties given by a mixing model from Peplinski
|
||||
#domain: 0.100 0.100 0.100
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: ricker 1 1.5e9 my_ricker
|
||||
#hertzian_dipole: y 0.02 0.02 0.02 my_ricker
|
||||
#rx: 0.080 0.080 0.080
|
||||
|
||||
#soil_peplinski: 0.5 0.5 2.0 2.66 0.001 0.25 my_soil
|
||||
#fractal_box: 0 0 0 0.05 0.05 0.1 1.5 1 1 1 50 my_soil my_soil_box 42
|
||||
#add_surface_roughness: 0 0 0.1 0.05 0.05 0.1 1 1 1 0.05 0.1 my_soil_box 22
|
||||
|
||||
#geometry_objects_write: 0 0 0 0.1 0.1 0.1 full_volume
|
@@ -22,7 +22,6 @@ class TestAddSurfaceRoughness(GprMaxGeometryTest):
|
||||
model = parameter(
|
||||
[
|
||||
"add_surface_roughness_full",
|
||||
"add_surface_roughness_half",
|
||||
"add_surface_roughness_small",
|
||||
"add_surface_roughness_weighted",
|
||||
"add_surface_roughness_boundaries",
|
||||
@@ -176,10 +175,6 @@ class TestAddGrassMpi(MpiMixin, TestAddGrass):
|
||||
# Depending on the orientation/alignment of the fractal surface, not all
|
||||
# MPI decompositions are valid. Therefore create tests that divide the
|
||||
# domain in each pair of dimensions.
|
||||
# NB: The 'add_surface_roughness_half' test currently fails due to the
|
||||
# floating point precision of the fractal surface. Caused by the:
|
||||
# if (k < surface.fractalsurface[i - surface.xs, j - surface.ys]):
|
||||
# checks in gprMax/user_objects/cmds_geometry/fractal_box.py
|
||||
@rfm.simple_test
|
||||
class TestAddSurfaceRoughnessMpiYZ(MpiMixin, TestAddSurfaceRoughness):
|
||||
tags = {"test", "mpi", "geometery", "fractal", "surface", "roughness"}
|
||||
@@ -188,7 +183,6 @@ class TestAddSurfaceRoughnessMpiYZ(MpiMixin, TestAddSurfaceRoughness):
|
||||
model = parameter(
|
||||
[
|
||||
"add_surface_roughness_full",
|
||||
# "add_surface_roughness_half",
|
||||
"add_surface_roughness_small",
|
||||
"add_surface_roughness_weighted",
|
||||
]
|
||||
@@ -203,7 +197,6 @@ class TestAddSurfaceRoughnessMpiXZ(MpiMixin, TestAddSurfaceRoughness):
|
||||
model = parameter(
|
||||
[
|
||||
"add_surface_roughness_full",
|
||||
# "add_surface_roughness_half",
|
||||
"add_surface_roughness_weighted",
|
||||
"add_surface_roughness_boundaries",
|
||||
]
|
||||
|
在新工单中引用
屏蔽一个用户