[Gmsh] Is there any example for createGModel method in GModel.h, using as library?

Guowei He rteycisy at gmail.com
Wed May 16 14:20:53 CEST 2012


Hi,

I was wondering if there's any createGModel examples in GModel.h, with C++
naive codes?

Or there's another nice way to create geometry and mesh based on a
previously meshed geometry? I mean, like building up a rectangle with an
already meshed edge? My naive though is create a GModel object m1, add a
GEdge ge1 to it, then mesh m1; then somehow I could create another GModel
object m2, with the geo/meshing information of ge1, then add a rectangle
with this edge to m2.

Many thanks.

-- 
Kind regards,
Guowei He

Modeling and Simulation Group
Forschungszentrum Jülich GmbH
Institute of Bio- and Geosciences
 IBG-1: Biotechnology
52425 Jülich
Phone: +49 2461 61-5541
Fax: +49 2461 61-3870
email: g.he at fz-juelich.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120516/eeab49a2/attachment.html>