mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
26 lines
501 B
C++
26 lines
501 B
C++
#ifdef WIN32
|
|
|
|
// a wrapper to load netgen-dll into python
|
|
|
|
|
|
#include <iostream>
|
|
#include <boost/python.hpp>
|
|
|
|
void __declspec(dllimport) ExportNetgenMeshing();
|
|
void __declspec(dllimport) ExportMeshVis();
|
|
void __declspec(dllimport) ExportCSG();
|
|
void __declspec(dllimport) ExportCSGVis();
|
|
void __declspec(dllimport) ExportGeom2d();
|
|
|
|
BOOST_PYTHON_MODULE(nglib)
|
|
{
|
|
ExportCSG();
|
|
ExportCSGVis();
|
|
ExportNetgenMeshing();
|
|
ExportMeshVis();
|
|
ExportGeom2d();
|
|
}
|
|
|
|
|
|
#endif
|