From 7cc2a7fcf29f43d242883e8c1456193a176fdd56 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Fri, 7 May 2010 22:58:26 +0200 Subject: [PATCH] bug fix in current integration --- FDTD/processcurrent.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/FDTD/processcurrent.cpp b/FDTD/processcurrent.cpp index 8176c9d..28e2622 100644 --- a/FDTD/processcurrent.cpp +++ b/FDTD/processcurrent.cpp @@ -54,27 +54,27 @@ int ProcessCurrent::Process() } //x-current if (m_start_inside[1] && m_start_inside[2]) - for (unsigned int i=start[0];iGetCurr(0,i,start[1],start[2]); //y-current if (m_stop_inside[0] && m_start_inside[2]) - for (unsigned int i=start[1];iGetCurr(1,stop[0],i,start[2]); //z-current if (m_stop_inside[0] && m_stop_inside[1]) - for (unsigned int i=start[2];iGetCurr(2,stop[0],stop[1],i); //x-current if (m_stop_inside[1] && m_stop_inside[2]) - for (unsigned int i=start[0];iGetCurr(0,i,stop[1],stop[2]); //y-current if (m_start_inside[0] && m_stop_inside[2]) - for (unsigned int i=start[1];iGetCurr(1,start[0],i,stop[2]); //z-current if (m_start_inside[0] && m_start_inside[1]) - for (unsigned int i=start[2];iGetCurr(2,start[0],start[1],i); // cerr << "ts: " << Eng->numTS << " i: " << current << endl;