File: volface.m

package info (click to toggle)
octave-iso2mesh 1.9.8%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 11,128 kB
  • sloc: cpp: 11,982; ansic: 10,158; sh: 365; makefile: 59
file content (22 lines) | stat: -rw-r--r-- 596 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
function varargout = volface(t)
%
% [openface,elemid]=volface(t)
%
% find the surface patches of a volume
%
% author: Qianqian Fang, <q.fang at neu.edu>
% date: 2009/10/13
%
% input:
%      t: input, volumetric element list, dimension (ne,4)
%
% output:
%      openface: list of faces of the specified volume
%      elemid (optional): the corresponding index of the
%                tetrahedron of an open-edge or triangle,
%                elemid has the same length as openedge.
%
% -- this function is part of iso2mesh toolbox (http://iso2mesh.sf.net)
%

[varargout{1:nargout}] = surfedge(t);