mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
wrappers for netgen-dll
This commit is contained in:
parent
785214bbab
commit
257e76c083
@ -1,12 +1,11 @@
|
|||||||
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
|
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
|
include_HEADERS = ngexception.hpp
|
||||||
|
|
||||||
AM_CPPFLAGS = $(MPI_INCLUDES) -I$(top_srcdir)/libsrc/include
|
AM_CPPFLAGS = $(MPI_INCLUDES) -I$(top_srcdir)/libsrc/include
|
||||||
METASOURCES = AUTO
|
METASOURCES = AUTO
|
||||||
noinst_LTLIBRARIES = libgen.la
|
noinst_LTLIBRARIES = libgen.la
|
||||||
libgen_la_SOURCES = array.cpp bitarray.cpp dynamicmem.cpp flags.cpp \
|
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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
11
ng/main.cpp
11
ng/main.cpp
@ -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);
|
||||||
@ -5,4 +10,8 @@ DLL_HEADER int NG_main(int argc, char ** argv);
|
|||||||
int main(int argc, char ** argv)
|
int main(int argc, char ** argv)
|
||||||
{
|
{
|
||||||
return NG_main(argc, argv);
|
return NG_main(argc, argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user