make excitation error message a bit more elaborate

pull/1/head
Sebastian Held 2010-06-29 16:10:53 +02:00
parent 91ecb547d6
commit a083c6d739
1 changed files with 3 additions and 0 deletions

View File

@ -95,6 +95,9 @@ bool Excitation::setupExcitation( TiXmlElement* Excite, unsigned int maxTS )
if (GetNyquistNum() == 0) {
cerr << "openEMS: excitation setup failed!!" << endl;
cerr << " Frequent causes include:" << endl;
cerr << " - invalid excitation type (curently supported: 0,1,2,3,10)" << endl;
cerr << " - missing/invalid attributes for selected excitation type" << endl;
return false;
}