From b4bf720466dbb5b5b3da848df3c9aec4e488de7f Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Fri, 26 Mar 2010 08:39:26 +0100 Subject: [PATCH] fix in gauss excite... --- FDTD/operator.cpp | 2 +- openems.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FDTD/operator.cpp b/FDTD/operator.cpp index e780e2f..71d0ea0 100644 --- a/FDTD/operator.cpp +++ b/FDTD/operator.cpp @@ -716,7 +716,7 @@ double Operator::CalcTimestep() } } } -// cerr << "Timestep: " << dT << endl; + cerr << "Operator Timestep: " << dT << endl; return 0; } diff --git a/openems.cpp b/openems.cpp index 315e7cb..d5b0247 100644 --- a/openems.cpp +++ b/openems.cpp @@ -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)