minor fixes

pull/1/head v0.0.4
Thorsten Liebig 2010-03-30 08:19:41 +02:00
parent 2810e511e6
commit b1cb1e30e3
2 changed files with 6 additions and 6 deletions

View File

@ -225,7 +225,7 @@ void Operator::ShowStat()
cout << "-----------------------------------" << endl;
cout << "Timestep (s) : " << dT << endl;
cout << "Nyquist criteria (TS) : " << m_nyquistTS << endl;
cout << "Nyquist criteria (s) : " << m_nyquistTS*dt << endl;
cout << "Nyquist criteria (s) : " << m_nyquistTS*dT << endl;
cout << "Excitation Length (TS) : " << ExciteLength << endl;
cout << "Excitation Length (s) : " << ExciteLength*dT << endl;
cout << "-----------------------------------" << endl;
@ -726,7 +726,7 @@ double Operator::CalcTimestep()
}
}
}
cerr << "Operator Timestep: " << dT << endl;
// cerr << "Operator Timestep: " << dT << endl;
return 0;
}

View File

@ -8,7 +8,7 @@ coil_rad = 10;
coil_length = 50;
coil_turns = 8;
coil_res = 10;
port_length = coil_length;
port_length = coil_length/2;
port_resist = 50;
f_max = 50e6;
@ -17,7 +17,7 @@ mesh_size = wire_rad;
openEMS_Path = [pwd() '/../../']
openEMS_opts = '';
openEMS_opts = [openEMS_opts ' --disable-dumps'];
% openEMS_opts = [openEMS_opts ' --disable-dumps'];
% openEMS_opts = [openEMS_opts ' --debug-material'];
% openEMS_opts = [openEMS_opts ' --debug-operator'];
@ -32,8 +32,8 @@ FDTD = SetGaussExcite(FDTD,f_excite/2,f_excite/2);
BC = [1 1 1 1 1 1];
FDTD = SetBoundaryCond(FDTD,BC);
add_Lines = mesh_size * 1.5.^(1:10)
add_Lines = add_Lines(find(add_Lines<(3e8/f_max)*1e3))
add_Lines = mesh_size * 1.5.^(1:10);
add_Lines = add_Lines(find(add_Lines<(3e8/f_excite)/10*1e3));
%setup CSXCAD geometry
CSX = InitCSX();