setup: parse MaxTime from xml, #44
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>pull/45/head
parent
b37cb008b0
commit
de2317278b
|
@ -716,6 +716,11 @@ bool openEMS::Parse_XML_FDTDSetup(TiXmlElement* FDTD_Opts)
|
||||||
this->SetupCylinderMultiGrid(string(cchelp));
|
this->SetupCylinderMultiGrid(string(cchelp));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dhelp = 0;
|
||||||
|
FDTD_Opts->QueryDoubleAttribute("MaxTime",&dhelp);
|
||||||
|
if (dhelp>0)
|
||||||
|
this->SetMaxTime(dhelp);
|
||||||
|
|
||||||
dhelp = 0;
|
dhelp = 0;
|
||||||
FDTD_Opts->QueryDoubleAttribute("endCriteria",&dhelp);
|
FDTD_Opts->QueryDoubleAttribute("endCriteria",&dhelp);
|
||||||
if (dhelp==0)
|
if (dhelp==0)
|
||||||
|
|
Loading…
Reference in New Issue