add debug PEC and debug CSX to API

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
This commit is contained in:
Thorsten Liebig 2017-05-01 12:34:16 +02:00
parent 5a882a7085
commit 21fab76679
2 changed files with 4 additions and 2 deletions

View File

@ -182,13 +182,13 @@ bool openEMS::parseCommandLineArgument( const char *argv )
else if (strcmp(argv,"--debug-PEC")==0)
{
cout << "openEMS - dumping PEC info to 'PEC_dump.vtk'" << endl;
m_debugPEC = true;
DebugPEC();
return true;
}
else if (strcmp(argv,"--debug-CSX")==0)
{
cout << "openEMS - dumping CSX geometry to 'debugCSX.xml'" << endl;
m_debugCSX = true;
DebugCSX();
return true;
}
else if (strcmp(argv,"--engine=basic")==0)

View File

@ -73,6 +73,8 @@ public:
void DebugMaterial() {DebugMat=true;}
void DebugOperator() {DebugOp=true;}
void DebugBox() {m_debugBox=true;}
void DebugPEC() {m_debugPEC=true;}
void DebugCSX() {m_debugCSX=true;}
void Set_BC_Type(int idx, int type);
int Get_BC_Type(int idx);