From 4c6294dfbae4d75ae68590c36eb870f4c6ae61ef Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Sun, 31 Mar 2013 23:04:04 +0200 Subject: [PATCH] fix in conducting sheet extension, missing initialization Signed-off-by: Thorsten Liebig --- FDTD/extensions/operator_ext_conductingsheet.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/FDTD/extensions/operator_ext_conductingsheet.cpp b/FDTD/extensions/operator_ext_conductingsheet.cpp index 74e9a76..135d333 100644 --- a/FDTD/extensions/operator_ext_conductingsheet.cpp +++ b/FDTD/extensions/operator_ext_conductingsheet.cpp @@ -152,14 +152,17 @@ bool Operator_Ext_ConductingSheet::BuildExtension() m_curr_ADE_On = new bool[m_Order]; m_curr_ADE_On[0] = m_curr_ADE_On[1]=false; + m_volt_Lor_ADE_On = new bool[m_Order]; + m_volt_Lor_ADE_On[0] = m_volt_Lor_ADE_On[1]=false; + m_curr_Lor_ADE_On = new bool[m_Order]; + m_curr_Lor_ADE_On[0] = m_curr_Lor_ADE_On[1]=false; + m_LM_pos = new unsigned int**[m_Order]; m_LM_pos[0] = new unsigned int*[3]; m_LM_pos[1] = new unsigned int*[3]; v_int_ADE = new FDTD_FLOAT**[m_Order]; v_ext_ADE = new FDTD_FLOAT**[m_Order]; - i_int_ADE = NULL; - i_ext_ADE = NULL; v_int_ADE[0] = new FDTD_FLOAT*[3]; v_ext_ADE[0] = new FDTD_FLOAT*[3];