你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
47 行
1.1 KiB
Python
47 行
1.1 KiB
Python
import reframe as rfm
|
|
from reframe.core.builtins import parameter, run_after
|
|
|
|
from reframe_tests.tests.mixins import AntennaModelMixin, PythonApiMixin
|
|
from reframe_tests.tests.standard_tests import GprMaxRegressionTest
|
|
|
|
"""Reframe regression tests for subgrids
|
|
"""
|
|
|
|
|
|
@rfm.simple_test
|
|
class TestSubgrids(PythonApiMixin, GprMaxRegressionTest):
|
|
tags = {
|
|
"test",
|
|
"api",
|
|
"serial",
|
|
"subgrid",
|
|
"hertzian_dipole",
|
|
"waveform",
|
|
"material",
|
|
"dispersive",
|
|
"cylinder",
|
|
}
|
|
sourcesdir = "src/subgrid_tests"
|
|
model = parameter(["cylinder_fs"])
|
|
|
|
|
|
@rfm.simple_test
|
|
class TestSubgridsWithAntennaModel(AntennaModelMixin, PythonApiMixin, GprMaxRegressionTest):
|
|
tags = {
|
|
"test",
|
|
"api",
|
|
"serial",
|
|
"subgrid",
|
|
"antenna",
|
|
"material",
|
|
"box",
|
|
"fractal_box",
|
|
"add_surface_roughness",
|
|
}
|
|
sourcesdir = "src/subgrid_tests"
|
|
model = parameter(["gssi_400_over_fractal_subsurface"])
|
|
|
|
@run_after("init")
|
|
def skip_test(self):
|
|
self.skip_if(self.current_system.name == "archer2", "Takes ~1hr 30m on ARCHER2")
|