Home > freetb4matlab > msh > MSH3Mstructmesh.m

MSH3Mstructmesh

PURPOSE ^

%

SYNOPSIS ^

function [mesh] = MSH3Mstructmesh(x,y,z,region,sides)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {[@var{mesh}]} = MSH3Mstructmesh(@var{x},@var{y},@var{z},@var{region},@var{sides})
%
% Constructs a structured tetrahedral 3D mesh on a parallelepipedal domain,
% and returns a PDEtool-like mesh structure.
%
% Input:
% @itemize @minus
% @item @var{x}: vector representing the 1D meshing of the side
% parallel to x axis.
% @item @var{y}: vector representing the 1D meshing of the side
% parallel to y axis.
% @item @var{z}: vector representing the 1D meshing of the side
% parallel to z axis.
% @item @var{region}: number assigned to the meshed region.
% @item @var{sides}: row vector containing the six numbers assigned to the geometrical surface-edges.
% @end itemize
% 
% Output: mesh basic structure, composed of the following fields
% @itemize @minus
% @item @var{p}: matrix with size 3 times number of mesh point. 
% @itemize @bullet
% @item 1st row: x-coordinates of the points.
% @item 2nd row: y-coordinates of the points.
% @item 3rd row: z-coordinates of the points.
% @end itemize
% @item @var{e}: matrix with size 10 times number of mesh border edges.
% @itemize @bullet
% @item 1st row: p-matrix column number of the first edge-vertex.
% @item 2nd row: p-matrix column number of the second edge-vertex.
% @item 3rd row: p-matrix column number of the third edge-vertex.
% @item 4th row: not initialized, only for compatibility with standard PDE-tool like mesh.
% @item 5th row: not initialized, only for compatibility with standard PDE-tool like mesh.
% @item 6th row: not initialized, only for compatibility with standard PDE-tool like mesh. 
% @item 7th row: not initialized, only for compatibility with standard PDE-tool like mesh. 
% @item 8th row: number of the region to the right of the referred mesh
% edge.
% @item 9th row: number of the region to the left of the referred mesh edge.
% @item 10th row: number of the geometrical border upon which the referred mesh edge is lying on.
% @end itemize
% @item @var{t}:
% @itemize @bullet
% @item 1st row: p-matrix column number of the first tetrahedra vertex.
% @item 2nd row: p-matrix column number of the second tetrahedra vertex.
% @item 3rd row: p-matrix column number of the third tetrahedra vertex.
% @item 4th row: p-matrix column number of the fourth tetrahedra vertex.
% @item 5th row: number of the region upon which the referred trg is lying on.
% @end itemize
% @end itemize 
%
% @seealso{MSH2Mgmsh,MSH2Mjoinstructm,MSH2Msubmesh}
% @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