你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
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
这个提交包含在:
@@ -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"}
|
||||
|
在新工单中引用
屏蔽一个用户