netgen/libsrc/meshing/global.cpp

62 lines
931 B
C++
Raw Normal View History

2009-01-13 04:40:13 +05:00
#include <mystdlib.h>
#include "meshing.hpp"
2009-01-18 22:36:38 +05:00
2009-01-13 04:40:13 +05:00
namespace netgen
{
2009-01-18 22:36:38 +05:00
// stringstream emptystr;
// ostream * testout = &emptystr;
// testout -> clear(ios::failbit);
// ostream * testout = &cout;
ostream * testout = new ostream(0);
// NetgenOutStream * testout = new NetgenOutStream;
2009-01-13 04:40:13 +05:00
ostream * mycout = &cout;
ostream * myerr = &cerr;
2011-01-11 01:18:01 +05:00
// Flags parameters;
2009-01-13 04:40:13 +05:00
int silentflag = 0;
int testmode = 0;
volatile multithreadt multithread;
string ngdir = ".";
2009-01-25 17:35:25 +05:00
Array<int> tets_in_qualclass;
2009-01-13 04:40:13 +05:00
2012-07-06 13:49:05 +06:00
int h_argc = 0;
char ** h_argv = NULL;
2009-01-13 04:40:13 +05:00
multithreadt :: multithreadt()
{
pause =0;
testmode = 0;
redraw = 0;
drawing = 0;
terminate = 0;
running = 0;
percent = 0;
task = "";
}
DebugParameters debugparam;
bool verbose = 0;
int timestamp = 0;
int GetTimeStamp()
{
return timestamp;
}
int NextTimeStamp()
{
timestamp++;
return timestamp;
}
}