% -*- texinfo -*- % @deftypefn {Function File} {[@var{mesh}]} = msh2m_gmsh(@var{geometry},@var{option},@var{value},...) % % Construct an unstructured triangular 2D mesh making use of the free % software gmsh. Return a PDE-tool like mesh structure. % % Input: % @itemize @minus % @item @var{geometry}: basename of the '.geo' file to be meshed. % @item @var{option}: string of the option to pass gmsh. % @item @var{value}: value of the option to pass gmsh. % @end itemize % % For more information regarding the possible option to pass, refer to gmsh manual or gmsh site: % http://www.geuz.org/gmsh/ % % @var{mesh} structure is composed of the following fields: % % @itemize @minus % @item @var{p}: 2 X (% nodes) matrix. Contain mesh points coordinates. % @item @var{e}: 7 X (% side edges) matrix. Contain mesh side % edges information. % @item @var{t}: 4 X (% triangles) matrix. Contain pointer to @var{p} % field, as well as region number. % @end itemize % % @seealso{msh2m_structured_mesh, msh2m_join_structured_mesh, msh2m_submesh} % @end deftypefn