Revision 495
(checked in by cbc, 12 years ago)
|
Initial import of Stark code.
|
Line | |
---|
1 |
<TITLE>/</TITLE> |
---|
2 |
<BODY> |
---|
3 |
<A HREF = "index.html">[Index for ./FEM]</A> |
---|
4 |
<A HREF = "../index.html">[Return to Master Index]</A> |
---|
5 |
<H1>elgen</H1> |
---|
6 |
<H2>(./FEM/elgen.m)</H2> |
---|
7 |
<HR><H3>Function Synopsis</H3> |
---|
8 |
<pre>ellist=elgen(nhorz,nvert)</pre> |
---|
9 |
<HR><H3>Help text</H3> |
---|
10 |
<pre> |
---|
11 |
|
---|
12 |
ELGEN generate an element list for a rectangular FEM mesh |
---|
13 |
|
---|
14 |
ELGEN generate an element list for a FEM mesh with nhorz nodes in the |
---|
15 |
x-direction and nvert nodes in the y-direction. This function |
---|
16 |
is used primarily to provide element lists for transect data |
---|
17 |
so that contours can be computed for the normal component of |
---|
18 |
the transect. |
---|
19 |
|
---|
20 |
Example: If a transect is made with 25 horizontal and 10 vertical |
---|
21 |
stations, ELGEN would be called as follows: |
---|
22 |
|
---|
23 |
>> ellist=elgen(25,10); |
---|
24 |
|
---|
25 |
The result would be an element list containing the node numbers |
---|
26 |
for the three vertices of 2*(nhorz-1)*(nvert-1) elements in a matrix |
---|
27 |
with 2*(nhorz-1)*(nvert-1) rows and 3 columns. |
---|
28 |
|
---|
29 |
|
---|
30 |
Brian O. Blanton |
---|
31 |
Curriculum in Marine Sciences |
---|
32 |
Ocean Processes Numerical Modeling Laboratory |
---|
33 |
15-1A Venable Hall |
---|
34 |
CB# 3300 |
---|
35 |
Uni. of North Carolina |
---|
36 |
Chapel Hill, NC |
---|
37 |
27599-3300 |
---|
38 |
|
---|
39 |
919-962-4466 |
---|
40 |
blanton@marine.unc.edu |
---|
41 |
|
---|
42 |
September 1994 |
---|
43 |
|
---|
44 |
</pre> |
---|
45 |
<HR> |
---|
46 |
Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb 2 16:15:45 EST 1999 |
---|
47 |
<BR> |
---|
48 |
Cross-Directory links are: OFF<BR> |
---|
49 |
</BODY> |
---|