mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
wrappers for netgen-dll
This commit is contained in:
parent
334ecd6d5d
commit
561a7b4a81
@ -1,4 +1,4 @@
|
||||
noinst_HEADERS = array.hpp myadt.hpp optmem.hpp sort.hpp table.hpp autodiff.hpp flags.hpp mystring.hpp spbita2d.hpp template.hpp autoptr.hpp hashtabl.hpp netgenout.hpp profiler.hpp stack.hpp bitarray.hpp seti.hpp symbolta.hpp dynamicmem.hpp parthreads.hpp mpi_interface.hpp gzstream.h archive_base.hpp
|
||||
noinst_HEADERS = array.hpp myadt.hpp optmem.hpp sort.hpp table.hpp autodiff.hpp flags.hpp mystring.hpp spbita2d.hpp template.hpp autoptr.hpp hashtabl.hpp netgenout.hpp profiler.hpp stack.hpp bitarray.hpp seti.hpp symbolta.hpp dynamicmem.hpp parthreads.hpp mpi_interface.hpp gzstream.h archive_base.hpp ngpython.hpp
|
||||
|
||||
include_HEADERS = ngexception.hpp
|
||||
|
||||
|
@ -9,7 +9,7 @@ if NGGUI
|
||||
bin_PROGRAMS = netgen
|
||||
endif
|
||||
|
||||
netgen_SOURCES = demoview.cpp ngappinit.cpp onetcl.cpp parallelfunc.cpp ngpkg.cpp demoview.hpp parallelfunc.hpp togl_1_7.h
|
||||
netgen_SOURCES = demoview.cpp ngappinit.cpp onetcl.cpp parallelfunc.cpp ngpkg.cpp demoview.hpp parallelfunc.hpp togl_1_7.h main.cpp netgenpy.cpp
|
||||
# nginterface.cpp nginterface_v2.cpp
|
||||
|
||||
|
||||
|
13
ng/main.cpp
13
ng/main.cpp
@ -1,8 +1,17 @@
|
||||
#ifdef WIN32
|
||||
|
||||
// a wrapper to load netgen-dll into the executable
|
||||
|
||||
|
||||
#include <mydefs.hpp>
|
||||
|
||||
DLL_HEADER int NG_main(int argc, char ** argv);
|
||||
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
return NG_main(argc, argv);
|
||||
}
|
||||
return NG_main(argc, argv);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
#ifdef WIN32
|
||||
|
||||
// a wrapper to load netgen-dll into python
|
||||
|
||||
#include <iostream>
|
||||
#include <boost/python.hpp>
|
||||
|
||||
@ -14,4 +18,7 @@ BOOST_PYTHON_MODULE(nglib)
|
||||
ExportNetgenMeshing();
|
||||
ExportMeshVis();
|
||||
ExportGeom2d();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user