diff --git a/TESTSUITE/combinedtests/cavity.m b/TESTSUITE/combinedtests/cavity.m new file mode 100644 index 0000000..18310cb --- /dev/null +++ b/TESTSUITE/combinedtests/cavity.m @@ -0,0 +1,152 @@ +function pass = cavity + +physical_constants; + + +ENABLE_PLOTS = 1; +CLEANUP = 0; % if enabled and result is PASS, remove simulation folder +STOP_IF_FAILED = 1; % if enabled and result is FAILED, stop with error + +% LIMITS +upper_error = 0.036; % max +3.6% +lower_error = 0; % max -0.0% + +% structure +a = 5e-2; +b = 2e-2; +d = 6e-2; +if ~((b