From 8333cf2f6aa4f489e0bbfcc2b69cb4939b87dad3 Mon Sep 17 00:00:00 2001 From: Sebastian Held Date: Thu, 27 May 2010 11:12:16 +0200 Subject: [PATCH] minor fix --- openems.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openems.cpp b/openems.cpp index 720149e..e8e3dcc 100644 --- a/openems.cpp +++ b/openems.cpp @@ -266,10 +266,11 @@ int openEMS::SetupFDTD(const char* file) { FDTD_Op->DumpMaterial2File("material_dump.vtk"); } - if (DebugOp) - { + if (DebugOp && (m_engine == EngineType_Standard)) FDTD_Op->DumpOperator2File("operator_dump.vtk"); - } + if (DebugOp && (m_engine != EngineType_Standard)) + cerr << "openEMS - Warning: operator dump needs the standard engine." << endl; + time_t OpDoneTime=time(NULL);