wrappers for netgen-dll

This commit is contained in:
Joachim Schoeberl 2015-01-27 15:56:32 +00:00
parent 785214bbab
commit 257e76c083
4 changed files with 25 additions and 14 deletions

View File

@ -9,4 +9,3 @@ libgen_la_SOURCES = array.cpp bitarray.cpp dynamicmem.cpp flags.cpp \
hashtabl.cpp mystring.cpp ngexception.cpp optmem.cpp parthreads.cpp \ hashtabl.cpp mystring.cpp ngexception.cpp optmem.cpp parthreads.cpp \
profiler.cpp seti.cpp sort.cpp spbita2d.cpp symbolta.cpp table.cpp \ profiler.cpp seti.cpp sort.cpp spbita2d.cpp symbolta.cpp table.cpp \
mpi_interface.cpp gzstream.cpp mpi_interface.cpp gzstream.cpp

View File

@ -9,7 +9,7 @@ if NGGUI
bin_PROGRAMS = netgen bin_PROGRAMS = netgen
endif endif
netgen_SOURCES = demoview.cpp ngappinit.cpp netgenpy.cpp onetcl.cpp parallelfunc.cpp ngpkg.cpp demoview.hpp parallelfunc.hpp togl_1_7.h netgen_SOURCES = demoview.cpp ngappinit.cpp netgenpy.cpp onetcl.cpp parallelfunc.cpp ngpkg.cpp demoview.hpp parallelfunc.hpp togl_1_7.h main.cpp netgenpy.cpp
# nginterface.cpp nginterface_v2.cpp # nginterface.cpp nginterface_v2.cpp

View File

@ -1,3 +1,8 @@
#ifdef WIN32
// a wrapper to load netgen-dll into the executable
#include <mydefs.hpp> #include <mydefs.hpp>
DLL_HEADER int NG_main(int argc, char ** argv); DLL_HEADER int NG_main(int argc, char ** argv);
@ -6,3 +11,7 @@ int main(int argc, char ** argv)
{ {
return NG_main(argc, argv); return NG_main(argc, argv);
} }
#endif

View File

@ -1,5 +1,8 @@
#ifdef WIN32 #ifdef WIN32
// a wrapper to load netgen-dll into python
#include <iostream> #include <iostream>
#include <boost/python.hpp> #include <boost/python.hpp>