check if operator setup was successful

pull/1/head
Thorsten Liebig 2011-03-21 15:10:09 +01:00
parent 46230f63c7
commit 241ec2bb40
1 changed files with 2 additions and 1 deletions

View File

@ -572,7 +572,8 @@ int openEMS::SetupFDTD(const char* file)
m_CSX->Write2XML("debugm_CSX->xml");
//*************** setup operator ************//
SetupOperator(FDTD_Opts);
if (SetupOperator(FDTD_Opts)==false)
return 2;
if (FDTD_Op->SetGeometryCSX(m_CSX)==false) return(2);