From 7cff7873c87d535872b504e34a059e7956f05064 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Tue, 16 Mar 2010 09:47:14 +0100 Subject: [PATCH] update to output --- openems.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openems.cpp b/openems.cpp index e8834a8..f6114a0 100644 --- a/openems.cpp +++ b/openems.cpp @@ -144,7 +144,6 @@ int openEMS::SetupFDTD(const char* file) { FDTD_Op->DumpMaterial2File("material_dump.vtk"); } - FDTD_Op->CalcECOperator(); if (Excit_Type==0) @@ -276,7 +275,7 @@ void openEMS::RunFDTD() currE = ProcField.CalcTotalEnergy(); if (currE>maxE) maxE=currE; - cout << "Timestep: " << setw(12) << currTS << " (" << setw(6) << setprecision(2) << std::fixed << (double)currTS/(double)NrTS*100.0 << "%)" ; + cout << "[@" << setw(8) << (int)difftime(currTime,startTime) << "s] Timestep: " << setw(12) << currTS << " (" << setw(6) << setprecision(2) << std::fixed << (double)currTS/(double)NrTS*100.0 << "%)" ; cout << " with currently " << setw(6) << setprecision(1) << std::fixed << speed*(double)(currTS-prevTS)/t_diff << " MCells/s" ; if (maxE) change = currE/maxE;