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