From ed592bb2ba1426f7f1ca97d9e96195ca16600552 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Fri, 10 Feb 2012 11:47:53 +0100 Subject: [PATCH] allow Mur-ABC to cylindrical mesh in all directions for a partial mesh --- FDTD/extensions/operator_ext_mur_abc.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/FDTD/extensions/operator_ext_mur_abc.cpp b/FDTD/extensions/operator_ext_mur_abc.cpp index d4c92b8..5384376 100644 --- a/FDTD/extensions/operator_ext_mur_abc.cpp +++ b/FDTD/extensions/operator_ext_mur_abc.cpp @@ -49,11 +49,11 @@ Operator_Extension* Operator_Ext_Mur_ABC::Clone(Operator* op) bool Operator_Ext_Mur_ABC::IsCylinderCoordsSave(bool closedAlpha, bool R0_included) const { - if (m_ny==2) - return true; - if ((m_ny==0) && (m_top)) - return true; - return false; + if ((m_ny==0) && (!m_top) && (R0_included || closedAlpha)) + return false; + if ((m_ny==1) && (closedAlpha)) + return false; + return true; } bool Operator_Ext_Mur_ABC::IsCylindricalMultiGridSave(bool child) const