Add cylindrical sector tests

这个提交包含在:
nmannall
2025-02-13 10:48:44 +00:00
父节点 a7a0e2d939
当前提交 b0128da724
共有 5 个文件被更改,包括 74 次插入1 次删除

查看文件

@@ -0,0 +1,13 @@
#title: Hertzian dipole over a half-space
#domain: 0.100 0.100 0.100
#dx_dy_dz: 0.001 0.001 0.001
#time_window: 3e-9
#waveform: gaussiandot 1 1e9 myWave
#hertzian_dipole: z 0.020 0.020 0.020 myWave
#rx: 0.080 0.080 0.080
#material: 8 0 1 0 half_space
#cylindrical_sector: x 0.05 0.05 0 0.1 0.05 60 330 half_space
#geometry_objects_write: 0 0 0 0.1 0.1 0.1 full_volume

查看文件

@@ -0,0 +1,13 @@
#title: Hertzian dipole over a half-space
#domain: 0.100 0.100 0.100
#dx_dy_dz: 0.001 0.001 0.001
#time_window: 3e-9
#waveform: gaussiandot 1 1e9 myWave
#hertzian_dipole: z 0.020 0.020 0.020 myWave
#rx: 0.080 0.080 0.080
#material: 8 0 1 0 half_space
#cylindrical_sector: y 0.085 0.075 0.01 0.04 0.02 120 240 half_space
#geometry_objects_write: 0 0 0 0.1 0.1 0.1 full_volume

查看文件

@@ -0,0 +1,13 @@
#title: Hertzian dipole over a half-space
#domain: 0.100 0.100 0.100
#dx_dy_dz: 0.001 0.001 0.001
#time_window: 3e-9
#waveform: gaussiandot 1 1e9 myWave
#hertzian_dipole: z 0.020 0.020 0.020 myWave
#rx: 0.080 0.080 0.080
#material: 8 0 1 0 half_space
#cylindrical_sector: z 0.07 0.06 0.04 0.12 0.05 30 240 half_space
#geometry_objects_write: 0 0 0 0.1 0.1 0.1 full_volume

查看文件

@@ -0,0 +1,13 @@
#title: Hertzian dipole over a half-space
#domain: 0.100 0.100 0.100
#dx_dy_dz: 0.001 0.001 0.001
#time_window: 3e-9
#waveform: gaussiandot 1 1e9 myWave
#hertzian_dipole: z 0.020 0.020 0.020 myWave
#rx: 0.080 0.080 0.080
#material: 8 0 1 0 half_space
#cylindrical_sector: z 0.05 0.05 0 0.1 0.05 60 330 half_space n
#geometry_objects_write: 0 0 0 0.1 0.1 0.1 full_volume

查看文件

@@ -58,6 +58,20 @@ class TestCylinderGeometry(GprMaxRegressionTest):
)
@rfm.simple_test
class TestCylindricalSectorGeometry(GprMaxRegressionTest):
tags = {"test", "serial", "geometery", "cylindrical", "sector", "cylindrical_sector"}
sourcesdir = "src/geometry_tests/cylindrical_sector_geometry"
model = parameter(
[
"cylindrical_sector_x_full",
"cylindrical_sector_y_small",
"cylindrical_sector_z_outside_boundary",
"cylindrical_sector_z_rigid",
]
)
@rfm.simple_test
class TestEllipsoidGeometry(GprMaxRegressionTest):
tags = {"test", "serial", "geometery", "ellipsoid"}
@@ -107,9 +121,16 @@ class TestConeGeometryMpi(MpiMixin, TestConeGeometry):
@rfm.simple_test
class TestCylinderGeometryMpi(MpiMixin, TestCylinderGeometry):
class TestCylindricalSectorGeometryMpi(MpiMixin, TestCylindricalSectorGeometry):
tags = {"test", "mpi", "geometery", "cylinder"}
mpi_layout = parameter([[2, 2, 2], [3, 3, 3], [4, 4, 4]])
test_dependency = TestCylindricalSectorGeometry
@rfm.simple_test
class TestCylinderGeometryMpi(MpiMixin, TestCylinderGeometry):
tags = {"test", "mpi", "geometery", "cylindrical", "sector", "cylindrical_sector"}
mpi_layout = parameter([[2, 2, 2], [3, 3, 3], [4, 4, 4]])
test_dependency = TestCylinderGeometry