mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
moved nglib export module to nglib.cpp
This commit is contained in:
parent
baa67899a9
commit
b1be0eea1b
@ -1205,12 +1205,12 @@ namespace netgen
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
void ResetTime ()
|
void ResetTime ()
|
||||||
{
|
{
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1240,3 +1240,12 @@ void Ng_SetSolutionData (Ng_SolutionData * soldata)
|
|||||||
void Ng_InitSolutionData (Ng_SolutionData * soldata) { ; }
|
void Ng_InitSolutionData (Ng_SolutionData * soldata) { ; }
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef NG_PYTHON
|
||||||
|
#include <boost/python.hpp>
|
||||||
|
void ExportNetgenMeshing();
|
||||||
|
void ExportCSG();
|
||||||
|
BOOST_PYTHON_MODULE(nglib) {
|
||||||
|
ExportCSG();
|
||||||
|
ExportNetgenMeshing();
|
||||||
|
}
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user