Hi Professor Braun, If you can live with just a few geometries and meshes then the easiest thing to do is to save the meshes generated by Gmsh in files and read them into your C++ program as needed. If you need something more flexible then yes it is possible to compile gmsh as a shared library, build your C++ program to link to it, and call Gmsh from within your program. I have a C++ code that does this and would be happy to walk you through it.
Regards, Dave Bernstein www.terafrac.org On Aug 1, 2013, at 5:19 AM, moritz braun <[email protected]> wrote: > Dear Alle > > I have established, that getdp can handle mapped / isoparametric elements. > I would like to solve a problem involving > multiple domains with spherical boundaries between them. > As first step in two dimensions. > I have managed to calculate > the eigen functions of \nabla^2 on a unit circle. > I would like to able to access the matrices and meshes used by getdp > from C++/python to > enforce the boundary conditions outside of getdp. > Is this possible? > > regards > > Moritz > > -- > Prof M Braun Tel.:27-12-4298006/8027 > Physics Department Fax.: 27-12-4293643 > University of South Africa (UNISA) > [email protected] > P.O. Box 392 > 0003 > UNISA > South Africa > http://moritz-braun.blogspot.com > _______________________________________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
