I forgot to attach files yesterday...<br><br><div class="gmail_quote">On Mon, Dec 6, 2010 at 9:08 PM, Jin, Yao <span dir="ltr"><<a href="mailto:jinyao@ymail.com">jinyao@ymail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear all,<div><br></div><div>My understanding about <i>structured mesh</i> is that "<span style="font-family:arial, sans-serif">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).</span></div>
<div><span style="font-family:arial, sans-serif">I write the attached rect4.geo and want to generate structured mesh. I get rect4.msh by executing 'gmsh -2 rect4.geo'</span></div><div><span style="font-family:arial, sans-serif">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.</span></div>
<div><span style="font-family:arial, sans-serif">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?</span></div><div>
<span style="font-family:arial, sans-serif"><br></span></div><div><font face="arial, sans-serif">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?</font></div>
</blockquote></div><br>