[Gmsh] GMSH Source: MLine vs. MEdge

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Oct 10 19:05:31 CEST 2017



> On 10 Oct 2017, at 18:58, phillip mobley <phillipmobley2 at gmail.com> wrote:
> 
> Hello Christophe, 
> 
> Thank you again for responding to my message.
> 
> I see now, a MLine is used for the 1D case and a MEdge is used in the 2D case.So since I am dealing exclusively with 2D meshes, would I really need the MLine class? Or will there be cases when a 2D mesh uses the MLine class?
> 

Typically yes: when you save a 2D mesh it is interesting to also save the 1D mesh on (parts of the) boundary.

> I believe that I asked this in my previous message, but I will ask it again here,
> 
> could you go a little bit more into detail of what you mean by "This will not expose any of the internal complexity of the code."?
> 
> On Tue, Oct 10, 2017 at 11:16 AM, Christophe Geuzaine <cgeuzaine at ulg.ac.be> wrote:
> 
> Hi Phillip,
> 
> No, MLine is a mesh element of type line (a "1D" element). MEdge is a topological edge, joining two vertices.
> 
> There is currently no documentation of the API; one of our objectives for Gmsh 4.0 is to design and distribute a high-level C API. This will not expose any of the internal complexity of the code.
> 
> Christophe
> 
> > On 9 Oct 2017, at 04:31, phillip mobley <phillipmobley2 at gmail.com> wrote:
> >
> > Hello all,
> >
> > I have another question, this time it is the difference between MLine and MEdge.
> >
> > Is the MLine used for the solver of GMSH and is the MEgde used in drawing the mesh on the GUI?
> >
> >
> > _______________________________________________
> > gmsh mailing list
> > gmsh at onelab.info
> > http://onelab.info/mailman/listinfo/gmsh
> 
> 
> --
> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science
> http://www.montefiore.ulg.ac.be/~geuzaine
> 
> Free software: http://gmsh.info | http://getdp.info | http://onelab.info
> 
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Free software: http://gmsh.info | http://getdp.info | http://onelab.info




More information about the gmsh mailing list