fixed testsuite

pull/1/head
Sebastian Held 2010-05-03 18:43:54 +02:00
parent f762214eae
commit 4d7b868e03
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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);