fix in gauss excite...

pull/1/head
Thorsten Liebig 2010-03-26 08:39:26 +01:00
parent 8e3f44b0ca
commit b4bf720466
2 changed files with 2 additions and 2 deletions

View File

@ -716,7 +716,7 @@ double Operator::CalcTimestep()
}
}
}
// cerr << "Timestep: " << dT << endl;
cerr << "Operator Timestep: " << dT << endl;
return 0;
}

View File

@ -121,6 +121,7 @@ int openEMS::SetupFDTD(const char* file)
else if (Excit_Type==1)
{
Excite->QueryDoubleAttribute("f0",&f0);
fc = 0;
}
TiXmlElement* BC = FDTD_Opts->FirstChildElement("BoundaryCond");
@ -164,7 +165,6 @@ int openEMS::SetupFDTD(const char* file)
FDTD_Op->DumpOperator2File("operator_dump.vtk");
}
fc = 0;
if (Excit_Type==0)
FDTD_Op->CalcGaussianPulsExcitation(f0,fc);
else if (Excit_Type==1)