TFSF: disable for (currently) unsupported cylindrical mesh

pull/1/head
Thorsten Liebig 2012-07-25 10:50:56 +02:00
parent 0ad528e6b8
commit 943995c48c
1 changed files with 2 additions and 1 deletions

View File

@ -632,6 +632,7 @@ int openEMS::SetupFDTD(const char* file)
m_Exc = new Excitation(); m_Exc = new Excitation();
FDTD_Op->SetExcitationSignal(m_Exc); FDTD_Op->SetExcitationSignal(m_Exc);
FDTD_Op->AddExtension(new Operator_Ext_Excitation(FDTD_Op)); FDTD_Op->AddExtension(new Operator_Ext_Excitation(FDTD_Op));
if (!CylinderCoords)
FDTD_Op->AddExtension(new Operator_Ext_TFST(FDTD_Op)); FDTD_Op->AddExtension(new Operator_Ext_TFST(FDTD_Op));
if (FDTD_Op->SetGeometryCSX(m_CSX)==false) return(2); if (FDTD_Op->SetGeometryCSX(m_CSX)==false) return(2);