FEM: Update netgenplugin src files to fix builds with netgen >= 6.2.2601 (#27508)
This commit is contained in:
@@ -126,7 +126,11 @@ namespace netgen {
|
||||
#endif
|
||||
//extern void OCCSetLocalMeshSize(OCCGeometry & geom, Mesh & mesh);
|
||||
DLL_HEADER extern MeshingParameters mparam;
|
||||
DLL_HEADER extern volatile multithreadt multithread;
|
||||
#if NETGEN_VERSION >= NETGEN_VERSION_STRING(6,2,2601)
|
||||
using ngcore::multithread;
|
||||
#else
|
||||
DLL_HEADER extern volatile multithreadt multithread;
|
||||
#endif
|
||||
DLL_HEADER extern bool merge_solids;
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,11 @@ namespace netgen {
|
||||
DLL_HEADER extern int OCCGenerateMesh (OCCGeometry&, Mesh*&, int, int, char*);
|
||||
#endif
|
||||
DLL_HEADER extern MeshingParameters mparam;
|
||||
DLL_HEADER extern volatile multithreadt multithread;
|
||||
#if NETGEN_VERSION >= NETGEN_VERSION_STRING(6,2,2601)
|
||||
using ngcore::multithread;
|
||||
#else
|
||||
DLL_HEADER extern volatile multithreadt multithread;
|
||||
#endif
|
||||
}
|
||||
using namespace nglib;
|
||||
using namespace std;
|
||||
|
||||
Reference in New Issue
Block a user