SAR fix missing conductivity storage
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>pull/1/head
parent
c22665e529
commit
944fd3c528
|
@ -512,7 +512,9 @@ bool openEMS::SetupMaterialStorages()
|
||||||
if (db->GetQtyPrimitives()==0)
|
if (db->GetQtyPrimitives()==0)
|
||||||
continue;
|
continue;
|
||||||
//check for current density dump types
|
//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
|
FDTD_Op->SetMaterialStoreFlags(1,true); //tell operator to store kappa material data
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue