Home > freetb4matlab > msh > MSH2Mgmsh.m

MSH2Mgmsh

PURPOSE ^

%

SYNOPSIS ^

function [mesh] = MSH2Mgmsh(geometry,varargin)

DESCRIPTION ^

% -*- 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003