small fixes

This commit is contained in:
Joachim Schoeberl 2009-08-29 09:36:14 +00:00
parent f3fd0c6bbd
commit 33f40b8e9a
3 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,8 @@ include_HEADERS = nglib.h
dist_pkgdata_DATA = cube.surf
AM_CPPFLAGS = -I$(top_srcdir)/libsrc/include $(OCCFLAGS) $(MPI_INCLUDES)
AM_CPPFLAGS = -I$(top_srcdir)/libsrc/include $(MPI_INCLUDES)
# $(OCCFLAGS)
lib_LTLIBRARIES = libnglib.la
libnglib_la_SOURCES = nglib.cpp

View File

@ -641,7 +641,7 @@ DLL_HEADER Ng_Result Ng_OCC_GetFMap(Ng_OCC_Geometry * geom,
}
else
{
return -1;
return NG_ERROR;
}
}

View File

@ -74,7 +74,9 @@ enum Ng_Volume_Element_Type
/// Values returned by Netgen functions
enum Ng_Result
{ NG_OK = 0,
{
NG_ERROR = -1,
NG_OK = 0,
NG_SURFACE_INPUT_ERROR = 1,
NG_VOLUME_FAILURE = 2,
NG_STL_INPUT_ERROR = 3,