set CSX coord system option before dumping debug xml file

pull/1/head
Thorsten Liebig 2010-08-24 14:30:24 +02:00
parent 6ad49b9cae
commit 3caa27ab33
1 changed files with 3 additions and 1 deletions

View File

@ -300,6 +300,9 @@ int openEMS::SetupFDTD(const char* file)
// return(-2); // return(-2);
} }
if (CylinderCoords)
CSX.SetCoordInputType(1); //tell CSX to use cylinder-coords
if (m_debugCSX) if (m_debugCSX)
CSX.Write2XML("debugCSX.xml"); CSX.Write2XML("debugCSX.xml");
@ -307,7 +310,6 @@ int openEMS::SetupFDTD(const char* file)
if (CylinderCoords) if (CylinderCoords)
{ {
FDTD_Op = Operator_Cylinder::New(m_engine_numThreads); FDTD_Op = Operator_Cylinder::New(m_engine_numThreads);
CSX.SetCoordInputType(1); //tell CSX to use cylinder-coords
} }
else if (m_engine == EngineType_SSE) else if (m_engine == EngineType_SSE)
{ {