mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
refinement also for occ
This commit is contained in:
parent
dfebc96d49
commit
b01e0e25c0
@ -2,8 +2,7 @@ include_HEADERS = nglib.h
|
||||
|
||||
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
|
||||
libnglib_la_SOURCES = nglib.cpp
|
||||
|
@ -923,6 +923,15 @@ namespace nglib
|
||||
}
|
||||
|
||||
|
||||
#ifdef OCCGEOMETRY
|
||||
DLL_HEADER void Ng_OCC_Uniform_Refinement (Ng_OCC_Geometry * geom,
|
||||
Ng_Mesh * mesh)
|
||||
{
|
||||
( (OCCGeometry*)geom ) -> GetRefinement().Refine ( * (Mesh*) mesh );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
} // End of namespace nglib
|
||||
|
||||
|
@ -656,6 +656,10 @@ DLL_HEADER void Ng_STL_Uniform_Refinement (Ng_STL_Geometry * geom,
|
||||
DLL_HEADER void Ng_CSG_Uniform_Refinement (Ng_CSG_Geometry * geom,
|
||||
Ng_Mesh * mesh);
|
||||
|
||||
#ifdef OCCGEOMETRY
|
||||
DLL_HEADER void Ng_OCC_Uniform_Refinement (Ng_OCC_Geometry * geom,
|
||||
Ng_Mesh * mesh);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user