adept to CSXCAD changes & set coord input type early to prevent double update
parent
6728cee054
commit
aab744fefa
|
@ -330,6 +330,8 @@ int openEMS::SetupFDTD(const char* file)
|
|||
|
||||
cout << "Read Geometry..." << endl;
|
||||
ContinuousStructure CSX;
|
||||
if (CylinderCoords)
|
||||
CSX.SetCoordInputType(CYLINDRICAL); //tell CSX to use cylinder-coords
|
||||
string EC(CSX.ReadFromXML(openEMSxml));
|
||||
if (EC.empty()==false)
|
||||
{
|
||||
|
@ -337,9 +339,6 @@ int openEMS::SetupFDTD(const char* file)
|
|||
// return(-2);
|
||||
}
|
||||
|
||||
if (CylinderCoords)
|
||||
CSX.SetCoordInputType(1); //tell CSX to use cylinder-coords
|
||||
|
||||
if (m_debugCSX)
|
||||
CSX.Write2XML("debugCSX.xml");
|
||||
|
||||
|
@ -354,7 +353,6 @@ int openEMS::SetupFDTD(const char* file)
|
|||
}
|
||||
else
|
||||
FDTD_Op = Operator_Cylinder::New(m_engine_numThreads);
|
||||
CSX.SetCoordInputType(1); //tell CSX to use cylinder-coords
|
||||
}
|
||||
else if (m_engine == EngineType_SSE)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue