From 5a04affca2d0b027d5ec63d4dfe91a7556851692 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Tue, 2 Mar 2010 22:25:40 +0100 Subject: [PATCH] PEC-BC fix again! --- FDTD/cartoperator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FDTD/cartoperator.cpp b/FDTD/cartoperator.cpp index 3a4efec..bc402e7 100644 --- a/FDTD/cartoperator.cpp +++ b/FDTD/cartoperator.cpp @@ -111,7 +111,7 @@ int CartOperator::CalcECOperator() } //Always apply PEC to all boundary's - bool PEC[6]={0,0,0,0,0,0}; + bool PEC[6]={1,1,1,1,1,1}; ApplyElectricBC(PEC); if (CalcEFieldExcitation()==false) return -1;