From 38e6c047f0f7b20c6aee8a726c4ffc7086226228 Mon Sep 17 00:00:00 2001 From: Sebastian Held Date: Tue, 30 Mar 2010 15:42:01 +0200 Subject: [PATCH] testsuite: cavity (not yet finished) --- TESTSUITE/combinedtests/cavity.m | 152 +++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 TESTSUITE/combinedtests/cavity.m 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