SAR: use cell based conductivity in all cases (new default)
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
This commit is contained in:
parent
84e9e78643
commit
6c248efa3a
@ -25,7 +25,7 @@
|
||||
|
||||
ProcessFieldsSAR::ProcessFieldsSAR(Engine_Interface_Base* eng_if) : ProcessFieldsFD(eng_if)
|
||||
{
|
||||
m_UseCellKappa = false;
|
||||
m_UseCellKappa = true;
|
||||
m_SAR_method = "Simple";
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ public:
|
||||
|
||||
virtual void SetOptResolution(double optRes, int dir=-1);
|
||||
|
||||
//! Set to true for using the conductivity found at the center of a cell, instead of default E*J
|
||||
//! Set to true for using the conductivity found at the center of a cell, or false for E*J instead
|
||||
virtual void SetUseCellConductivity(bool val) {m_UseCellKappa=val;}
|
||||
|
||||
virtual void SetSARAveragingMethod(string method) {m_SAR_method=method;}
|
||||
|
@ -441,6 +441,8 @@ bool openEMS::SetupProcessing()
|
||||
string method = db->GetAttributeValue("SAR_Method");
|
||||
if (!method.empty())
|
||||
procSAR->SetSARAveragingMethod(method);
|
||||
// use (center)-cell based conductivity only
|
||||
procSAR->SetUseCellConductivity(true);
|
||||
}
|
||||
else
|
||||
cerr << "openEMS::SetupFDTD: unknown dump box type... skipping!" << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user