From a083c6d7395e23cd6ce6511c45fc7377c4e6427e Mon Sep 17 00:00:00 2001 From: Sebastian Held Date: Tue, 29 Jun 2010 16:10:53 +0200 Subject: [PATCH] make excitation error message a bit more elaborate --- FDTD/excitation.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FDTD/excitation.cpp b/FDTD/excitation.cpp index 5fc15e7..26677f3 100644 --- a/FDTD/excitation.cpp +++ b/FDTD/excitation.cpp @@ -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; }