From 944fd3c528eec4807e7197e696f6e629500c05e1 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Wed, 30 Jan 2013 14:15:35 +0100 Subject: [PATCH] SAR fix missing conductivity storage Signed-off-by: Thorsten Liebig --- openems.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openems.cpp b/openems.cpp index 45c601d..b9f039f 100644 --- a/openems.cpp +++ b/openems.cpp @@ -512,7 +512,9 @@ bool openEMS::SetupMaterialStorages() if (db->GetQtyPrimitives()==0) continue; //check for current density dump types - if ( ((db->GetDumpType()==2) || (db->GetDumpType()==12) || (db->GetDumpType()==20)) && Enable_Dumps ) + if ( ((db->GetDumpType()==2) || (db->GetDumpType()==12) || // current density storage + (db->GetDumpType()==20) || (db->GetDumpType()==21) || (db->GetDumpType()==22) || (db->GetDumpType()==29)) && // SAR dump types + Enable_Dumps ) FDTD_Op->SetMaterialStoreFlags(1,true); //tell operator to store kappa material data } return true;