Add test for fractal box

- Fractal boxes will build without error using the parallel build
  process, however they are not correct. Each rank builds its own part
  of the fractal box however there is no continuity across MPI
  boundaries
这个提交包含在:
Nathan Mannall
2025-03-17 11:52:40 +00:00
父节点 e81a498832
当前提交 cb45133e3b
共有 4 个文件被更改,包括 34 次插入1 次删除

查看文件

@@ -0,0 +1,13 @@
#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.1 0.1 0.1 1.5 1 1 1 50 my_soil my_soil_box 42
#geometry_objects_write: 0 0 0 0.1 0.1 0.1 full_volume

查看文件

@@ -97,6 +97,13 @@ class TestEllipsoidGeometry(GprMaxRegressionTest):
)
@rfm.simple_test
class TestFractalBoxGeometry(GprMaxRegressionTest):
tags = {"test", "serial", "geometery", "fractal", "box", "fractal_box"}
sourcesdir = "src/geometry_tests/fractal_box_geometry"
model = parameter(["fractal_box_full"])
# TODO: Add Mixin class to enable testing that invalid geometry throws an error
@rfm.simple_test
class TestPlateGeometry(GprMaxRegressionTest):
@@ -179,6 +186,13 @@ class TestEllipsoidGeometryMpi(MpiMixin, TestEllipsoidGeometry):
test_dependency = TestEllipsoidGeometry
@rfm.simple_test
class TestFractalBoxGeometryMpi(MpiMixin, TestFractalBoxGeometry):
tags = {"test", "mpi", "geometery", "fractal", "box", "fractal_box"}
mpi_layout = parameter([[2, 2, 2], [3, 3, 3], [4, 4, 4]])
test_dependency = TestFractalBoxGeometry
@rfm.simple_test
class TestPlateGeometryMpi(MpiMixin, TestPlateGeometry):
tags = {"test", "mpi", "geometery", "plate"}