[Gmsh] doubt about structured mesh?

Jin, Yao jinyao at ymail.com
Mon Dec 6 14:08:32 CET 2010

Dear all,

My understanding about *structured mesh* is that "all elements and nodes
have the same topology (ie same number of neighbors)" . For example,
Cell(i,j) is next to cell(i,j+1).
I write the attached rect4.geo and want to generate structured mesh. I get
rect4.msh by executing 'gmsh -2 rect4.geo'
I want to know how this topology relationship is reflected in the .msh file.
In fact I do not seen any quadrangle rect4.msh, though I could see
quadrangle shown in the GUI.
Do I need to parse the .msh file and build the topology by checking all the
cells to see whether the two cell have connected edge?

btw: I am writing code solving PDE using finite difference method. My
knowledge about mesh is very limited. Would you please recommend some
related  teaching materials?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20101206/0b6bdfc9/attachment.html>