ngsolve 1d

This commit is contained in:
Joachim Schoeberl 2012-07-09 09:50:48 +00:00
parent 1d163e69dc
commit 14362ac2f0
3 changed files with 13 additions and 6 deletions

View File

@ -197,6 +197,15 @@ namespace netgen
cout << "1D not supported" << endl; cout << "1D not supported" << endl;
} }
template <>
DLL_HEADER void Ng_MultiElementTransformation<0,1> (int elnr, int npts,
const double * xi, size_t sxi,
double * x, size_t sx,
double * dxdxi, size_t sdxdxi)
{
cout << "1D not supported" << endl;
}
template <> DLL_HEADER int Ng_GetNNodes<1> () template <> DLL_HEADER int Ng_GetNNodes<1> ()

View File

@ -5,7 +5,7 @@ dist_pkgdata_DATA = cube.surf
AM_CPPFLAGS = -I$(top_srcdir)/libsrc/include $(MPI_INCLUDES) $(OCCFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/libsrc/include $(MPI_INCLUDES) $(OCCFLAGS)
lib_LTLIBRARIES = libnglib.la lib_LTLIBRARIES = libnglib.la
libnglib_la_SOURCES = nglib.cpp parallelfunc.cpp libnglib_la_SOURCES = nglib.cpp
libnglib_la_LIBADD = \ libnglib_la_LIBADD = \
$(top_builddir)/libsrc/interface/libinterface.la \ $(top_builddir)/libsrc/interface/libinterface.la \
@ -30,7 +30,6 @@ ng_stl_SOURCES = ng_stl.cpp
ng_stl_LDADD = \ ng_stl_LDADD = \
libnglib.la libnglib.la
# ng_occ_SOURCES = ng_occ.cpp # ng_occ_SOURCES = ng_occ.cpp
# ng_occ_LDADD = \ # ng_occ_LDADD = \
# libnglib.la # libnglib.la

View File

@ -33,14 +33,13 @@ namespace netgen {
#ifdef PARALLELxxx #ifdef PARALLEL
#include <mpi.h> #include <mpi.h>
namespace netgen namespace netgen
{ {
int id = 0, ntasks = 1; // int id = 0, ntasks = 1;
MPI_Comm mesh_comm;
// MPI_Comm mesh_comm;
} }
#endif #endif