add debug PEC and debug CSX to API
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
This commit is contained in:
parent
5a882a7085
commit
21fab76679
@ -182,13 +182,13 @@ bool openEMS::parseCommandLineArgument( const char *argv )
|
|||||||
else if (strcmp(argv,"--debug-PEC")==0)
|
else if (strcmp(argv,"--debug-PEC")==0)
|
||||||
{
|
{
|
||||||
cout << "openEMS - dumping PEC info to 'PEC_dump.vtk'" << endl;
|
cout << "openEMS - dumping PEC info to 'PEC_dump.vtk'" << endl;
|
||||||
m_debugPEC = true;
|
DebugPEC();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (strcmp(argv,"--debug-CSX")==0)
|
else if (strcmp(argv,"--debug-CSX")==0)
|
||||||
{
|
{
|
||||||
cout << "openEMS - dumping CSX geometry to 'debugCSX.xml'" << endl;
|
cout << "openEMS - dumping CSX geometry to 'debugCSX.xml'" << endl;
|
||||||
m_debugCSX = true;
|
DebugCSX();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (strcmp(argv,"--engine=basic")==0)
|
else if (strcmp(argv,"--engine=basic")==0)
|
||||||
|
@ -73,6 +73,8 @@ public:
|
|||||||
void DebugMaterial() {DebugMat=true;}
|
void DebugMaterial() {DebugMat=true;}
|
||||||
void DebugOperator() {DebugOp=true;}
|
void DebugOperator() {DebugOp=true;}
|
||||||
void DebugBox() {m_debugBox=true;}
|
void DebugBox() {m_debugBox=true;}
|
||||||
|
void DebugPEC() {m_debugPEC=true;}
|
||||||
|
void DebugCSX() {m_debugCSX=true;}
|
||||||
|
|
||||||
void Set_BC_Type(int idx, int type);
|
void Set_BC_Type(int idx, int type);
|
||||||
int Get_BC_Type(int idx);
|
int Get_BC_Type(int idx);
|
||||||
|
Loading…
Reference in New Issue
Block a user