
This is an example of using gmsh as a library.

The geometric model is a square.

In order to build GModel object one has to create classes for 
vertices, edges and faces for the model. The classes should be
derived from GVertex, GEdge and GFace respectively. For 3D models
one has also handle regions. The classes GVertex, GEdge, and GFace
can be seen as a proxies to entities of geometric model.

In this sample implementation the classes myVertex, myEdge, myFace
does not constitute any specific geometric model. They are just
quick and dirty hack, provided just to make it working for the
specific geometry of a square.

Full source code of this example with CMake build config can be found at:
https://femdk.l5.pk.edu.pl/femdk/browser/trunk/sandbox/gmsh/squaremesh

