Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerGUI/netgen/libsrc/meshing/global.cpp
3206 views
1
#include <mystdlib.h>
2
#include "meshing.hpp"
3
4
namespace netgen
5
{
6
ostream * testout = &cout;
7
8
ostream * mycout = &cout;
9
ostream * myerr = &cerr;
10
11
12
// Flags globflags; // not used anymoure
13
Flags parameters;
14
15
16
int silentflag = 0;
17
int testmode = 0;
18
19
MeshingParameters mparam;
20
volatile multithreadt multithread;
21
22
string ngdir = ".";
23
24
ARRAY<int> tets_in_qualclass;
25
26
27
multithreadt :: multithreadt()
28
{
29
pause =0;
30
testmode = 0;
31
redraw = 0;
32
drawing = 0;
33
terminate = 0;
34
running = 0;
35
percent = 0;
36
task = "";
37
}
38
39
DebugParameters debugparam;
40
bool verbose = 0;
41
42
int timestamp = 0;
43
int GetTimeStamp()
44
{
45
return timestamp;
46
}
47
48
int NextTimeStamp()
49
{
50
timestamp++;
51
return timestamp;
52
}
53
}
54
55