mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 22:50:33 +05:00
inline GetTimeStamp
This commit is contained in:
parent
4382fc1168
commit
0074d8b407
@ -88,7 +88,8 @@ namespace netgen
|
|||||||
DebugParameters debugparam;
|
DebugParameters debugparam;
|
||||||
bool verbose = 0;
|
bool verbose = 0;
|
||||||
|
|
||||||
int timestamp = 0;
|
size_t timestamp = 0;
|
||||||
|
/*
|
||||||
int GetTimeStamp()
|
int GetTimeStamp()
|
||||||
{
|
{
|
||||||
return timestamp;
|
return timestamp;
|
||||||
@ -99,4 +100,5 @@ namespace netgen
|
|||||||
timestamp++;
|
timestamp++;
|
||||||
return timestamp;
|
return timestamp;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
@ -54,10 +54,22 @@ namespace netgen
|
|||||||
enum OPTIMIZEGOAL { OPT_QUALITY, OPT_CONFORM, OPT_REST, OPT_WORSTCASE, OPT_LEGAL };
|
enum OPTIMIZEGOAL { OPT_QUALITY, OPT_CONFORM, OPT_REST, OPT_WORSTCASE, OPT_LEGAL };
|
||||||
|
|
||||||
|
|
||||||
|
extern size_t timestamp;
|
||||||
|
inline size_t GetTimeStamp()
|
||||||
|
{
|
||||||
|
return timestamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
inline size_t NextTimeStamp()
|
||||||
|
{
|
||||||
|
timestamp++;
|
||||||
|
return timestamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
extern DLL_HEADER int GetTimeStamp();
|
extern DLL_HEADER int GetTimeStamp();
|
||||||
extern DLL_HEADER int NextTimeStamp();
|
extern DLL_HEADER int NextTimeStamp();
|
||||||
|
*/
|
||||||
class PointGeomInfo
|
class PointGeomInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user