mirror of
https://github.com/NGSolve/netgen.git
synced 2025-02-23 04:25:39 +05:00
62 lines
931 B
C++
62 lines
931 B
C++
![]() |
#include <mystdlib.h>
|
||
|
#include "meshing.hpp"
|
||
|
|
||
|
|
||
|
namespace netgen
|
||
|
{
|
||
|
// stringstream emptystr;
|
||
|
// ostream * testout = &emptystr;
|
||
|
// testout -> clear(ios::failbit);
|
||
|
|
||
|
// ostream * testout = &cout;
|
||
|
ostream * testout = new ostream(0);
|
||
|
|
||
|
// NetgenOutStream * testout = new NetgenOutStream;
|
||
|
|
||
|
ostream * mycout = &cout;
|
||
|
ostream * myerr = &cerr;
|
||
|
|
||
|
|
||
|
// Flags parameters;
|
||
|
|
||
|
|
||
|
int silentflag = 0;
|
||
|
int testmode = 0;
|
||
|
|
||
|
volatile multithreadt multithread;
|
||
|
|
||
|
string ngdir = ".";
|
||
|
|
||
|
Array<int> tets_in_qualclass;
|
||
|
|
||
|
int h_argc = 0;
|
||
|
char ** h_argv = NULL;
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|