From 4d7b868e03ae41f39512f5e25a44799aaff0554f Mon Sep 17 00:00:00 2001 From: Sebastian Held Date: Mon, 3 May 2010 18:43:54 +0200 Subject: [PATCH] fixed testsuite --- TESTSUITE/combinedtests/Coax.m | 3 ++- TESTSUITE/combinedtests/cavity.m | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TESTSUITE/combinedtests/Coax.m b/TESTSUITE/combinedtests/Coax.m index 49a0c75..320535e 100644 --- a/TESTSUITE/combinedtests/Coax.m +++ b/TESTSUITE/combinedtests/Coax.m @@ -65,7 +65,7 @@ start(3) = 0; stop(3)=mesh_res(1)/2; CSX = AddExcitation(CSX,'excite',0,[1 1 0]); weight{1} = '(x)/(x*x+y*y)'; weight{2} = 'y/pow(rho,2)'; -weight{3} = 0; +weight{3} = '0'; CSX = SetExcitationWeight(CSX, 'excite', weight ); CSX = AddCylindricalShell(CSX,'excite',0 ,start,stop,0.5*(coax_rad_i+coax_rad_ai),(coax_rad_ai-coax_rad_i)); @@ -152,3 +152,4 @@ end if ~pass && STOP_IF_FAILED error 'test failed'; end + diff --git a/TESTSUITE/combinedtests/cavity.m b/TESTSUITE/combinedtests/cavity.m index 8c9e724..2ed37c7 100644 --- a/TESTSUITE/combinedtests/cavity.m +++ b/TESTSUITE/combinedtests/cavity.m @@ -38,7 +38,7 @@ Sim_CSX = 'cavity.xml'; [status,message,messageid]=mkdir(Sim_Path); %setup FDTD parameter -FDTD = InitFDTD( 10000,1e-6 ); +FDTD = InitFDTD( 20000,1e-6 ); FDTD = SetGaussExcite(FDTD,(f_stop-f_start)/2,(f_stop-f_start)/2); BC = [0 0 0 0 0 0]; % PEC boundaries FDTD = SetBoundaryCond(FDTD,BC);