mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
inline GetTimeStamp
This commit is contained in:
parent
4382fc1168
commit
0074d8b407
@ -88,7 +88,8 @@ namespace netgen
|
||||
DebugParameters debugparam;
|
||||
bool verbose = 0;
|
||||
|
||||
int timestamp = 0;
|
||||
size_t timestamp = 0;
|
||||
/*
|
||||
int GetTimeStamp()
|
||||
{
|
||||
return timestamp;
|
||||
@ -99,4 +100,5 @@ namespace netgen
|
||||
timestamp++;
|
||||
return timestamp;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
@ -54,10 +54,22 @@ namespace netgen
|
||||
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 NextTimeStamp();
|
||||
|
||||
*/
|
||||
class PointGeomInfo
|
||||
{
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user