From 943995c48c6e32484b72980eb2d6e0479cd0c860 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Wed, 25 Jul 2012 10:50:56 +0200 Subject: [PATCH] TFSF: disable for (currently) unsupported cylindrical mesh --- openems.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openems.cpp b/openems.cpp index 85c0cdf..800c076 100644 --- a/openems.cpp +++ b/openems.cpp @@ -632,7 +632,8 @@ int openEMS::SetupFDTD(const char* file) m_Exc = new Excitation(); FDTD_Op->SetExcitationSignal(m_Exc); FDTD_Op->AddExtension(new Operator_Ext_Excitation(FDTD_Op)); - FDTD_Op->AddExtension(new Operator_Ext_TFST(FDTD_Op)); + if (!CylinderCoords) + FDTD_Op->AddExtension(new Operator_Ext_TFST(FDTD_Op)); if (FDTD_Op->SetGeometryCSX(m_CSX)==false) return(2);