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