Code covered by the BSD License
 checkgeometry(node,edge,f...CHECKGEOMETRY: Check a geometry input for MESH2D.
 circumcircle(p,t)
CIRCUMCIRCLE: XY centre coordinates and radius of triangle
 computeMForcesfromV(nodes...Function to compute forces from electrostatic analysis output from PDE
 connectivity(p,t)
CONNECTIVITY: Assemble connectivity data for a triangular mesh.
 copyright
Mesh2d is a MATLAB toolbox designed to automatically generate quality 2D
 dist2poly(p,edgexy,lim)
Find the minimum distance from the points in P to the polygon defined by
 facedemo(n)
FACETEST: Example polygonal geometries for MESHFACES.
 findedge(p,node,edge,TOL)
FINDEDGE: Locate points on edges.
 fixmesh(p,t,pfun,tfun)
FIXMESH: Ensure that triangular mesh data is consistent.
 inpoly(p,node,edge,TOL)
INPOLY: Pointinpolygon testing.
 load_results(resultDir, s...Function to load the results
 mems_cantilever_spmode2(x...0. Assign default arguments if necessary
 mesh2d(node,edge,hdata,op...MESH2D: 2D unstructured mesh generation for a polygon.
 mesh_collection(num)
MESH_COLLECTION: Collection of meshing examples from MESH2D users.
 meshdemo
Demo function for mesh2d.
 meshfaces(node,edge,face,...MESHFACES: 2D unstructured mesh generation for polygonal geometry.
 meshpoly(node,edge,qtree,...MESHPOLY: Core meshing routine called by mesh2d and meshfaces.
 mydelaunayn(p)
My version of the MATLAB delaunayn function that attempts to deal with
 mytsearch(x,y,t,xi,yi,i)
MYTSEARCH: Find the enclosing triangle for points in a 2D plane.
 pdemodelGeometry description:
 quadtree(node,edge,hdata,...QUADTREE: 2D quadtree decomposition of polygonal geometry.
 quality(p,t)
QUALITY: Approximate triangle quality.
 refine(p,t,ti,f)
REFINE: Refine triangular meshes.
 smoothmesh(p,t,maxit,tol)
SMOOTHMESH: Smooth a triangular mesh using Laplacian smoothing.
 tinterp(p,t,f,pi,i)
TINTERP: Triangle based linear interpolation.
 triarea(p,t)
TRIAREA: Area of triangles assuming counterclockwise (CCW) node
 cantilever_switch_pmode.mLoad the results from previous iteration of electrostatic analysis
 cantilever_switch_smode.mLoad the results from previous iteration of electrostatic analysis
 startup.mThis startup.m file adds all the necessary folders to MATLAB path for

View all files
Accelerating Finite Element Analysis (FEA) in MATLAB
by
Vaishali Shrivastava
16 Nov 2010
Accelerate computationally intensive part of FEA by using Parallel computing.

copyright

function copyright
% Mesh2d is a MATLAB toolbox designed to automatically generate quality 2D
% unstructured triangular meshes based on linear geometry inputs.
% Mesh2d is Copyright (C) 2007 Darren Engwirda.
%
% This program is free software; you can redistribute it and/or
% modify it under the terms of the GNU General Public License as
% published by the Free Software Foundation; either version 2 of
% the License, or (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
% General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software
% Foundation, Inc., 59 Temple Place  Suite 330, Boston, MA 021111307,
% USA.
%
% If you use Mesh2d in any program or publication, please inform and
% acknowledge its author Darren Engwirda (d_engwirda@hotmail.com).


Contact us