mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
makefile, mesh shared ptr
This commit is contained in:
parent
908ac2bf0b
commit
1437009867
@ -12,7 +12,7 @@ endif
|
||||
|
||||
|
||||
|
||||
libgeom2d_la_SOURCES = genmesh2d.cpp geom2dmesh.cpp geometry2d.cpp
|
||||
libgeom2d_la_SOURCES = genmesh2d.cpp geom2dmesh.cpp geometry2d.cpp python_geom2d.cpp
|
||||
libgeom2d_la_LIBADD = $(top_builddir)/libsrc/meshing/libmesh.la
|
||||
|
||||
libgeom2dvis_la_SOURCES = geom2dpkg.cpp vsgeom2d.cpp
|
||||
|
@ -240,9 +240,9 @@ void ExportGeom2d()
|
||||
}))
|
||||
.def("GenerateMesh", FunctionPointer([](SplineGeometry2d &self, MeshingParameters & mparam)
|
||||
{
|
||||
Mesh * mesh = NULL;
|
||||
shared_ptr<Mesh> mesh;
|
||||
self.GenerateMesh(mesh, mparam, 0, 0);
|
||||
return shared_ptr<Mesh>(mesh);
|
||||
return mesh;
|
||||
}))
|
||||
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user