Remove add_surface_roughness_half test

- The functionality this tested is better tested by the new
  add_surface_roughness_boundaries test
这个提交包含在:
Nathan Mannall
2025-05-07 17:17:57 +01:00
父节点 17c05f5286
当前提交 548cf6599b
共有 4 个文件被更改,包括 0 次插入120 次删除

查看文件

@@ -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",
]