mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
55 lines
1.0 KiB
C++
55 lines
1.0 KiB
C++
|
#ifndef FILE_GLOBAL
|
||
|
#define FILE_GLOBAL
|
||
|
|
||
|
|
||
|
/**************************************************************************/
|
||
|
/* File: global.hh */
|
||
|
/* Author: Joachim Schoeberl */
|
||
|
/* Date: 01. Okt. 95 */
|
||
|
/**************************************************************************/
|
||
|
|
||
|
/*
|
||
|
global functions and variables
|
||
|
*/
|
||
|
|
||
|
///
|
||
|
extern double GetTime ();
|
||
|
extern void ResetTime ();
|
||
|
|
||
|
///
|
||
|
extern int testmode;
|
||
|
|
||
|
// extern ostream * testout;
|
||
|
// extern AutoPtr<ostream> testout;
|
||
|
|
||
|
/// calling parameters
|
||
|
extern Flags parameters;
|
||
|
|
||
|
extern MeshingParameters mparam;
|
||
|
|
||
|
extern ARRAY<int> tets_in_qualclass;
|
||
|
|
||
|
|
||
|
class multithreadt
|
||
|
{
|
||
|
public:
|
||
|
int pause;
|
||
|
int testmode;
|
||
|
int redraw;
|
||
|
int drawing;
|
||
|
int terminate;
|
||
|
int running;
|
||
|
double percent;
|
||
|
const char * task;
|
||
|
bool demorunning;
|
||
|
multithreadt();
|
||
|
};
|
||
|
|
||
|
extern volatile multithreadt multithread;
|
||
|
|
||
|
extern string ngdir;
|
||
|
extern DebugParameters debugparam;
|
||
|
extern bool verbose;
|
||
|
|
||
|
#endif
|