fix default over sampling
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>pull/17/head
parent
2dc44df0e6
commit
bb3e73f6bf
|
@ -715,9 +715,7 @@ bool openEMS::Parse_XML_FDTDSetup(TiXmlElement* FDTD_Opts)
|
||||||
|
|
||||||
ihelp = 0;
|
ihelp = 0;
|
||||||
FDTD_Opts->QueryIntAttribute("OverSampling",&ihelp);
|
FDTD_Opts->QueryIntAttribute("OverSampling",&ihelp);
|
||||||
if (ihelp<2)
|
if (ihelp>1)
|
||||||
this->SetOverSampling(2);
|
|
||||||
else
|
|
||||||
this->SetOverSampling(ihelp);
|
this->SetOverSampling(ihelp);
|
||||||
|
|
||||||
// check for cell constant material averaging
|
// check for cell constant material averaging
|
||||||
|
|
Loading…
Reference in New Issue