minor fix

pull/1/head
Sebastian Held 2010-05-27 11:12:16 +02:00
parent 56e1e52118
commit 8333cf2f6a
1 changed files with 4 additions and 3 deletions

View File

@ -266,10 +266,11 @@ int openEMS::SetupFDTD(const char* file)
{ {
FDTD_Op->DumpMaterial2File("material_dump.vtk"); FDTD_Op->DumpMaterial2File("material_dump.vtk");
} }
if (DebugOp) if (DebugOp && (m_engine == EngineType_Standard))
{
FDTD_Op->DumpOperator2File("operator_dump.vtk"); 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); time_t OpDoneTime=time(NULL);