1 |
<TITLE>/</TITLE> |
---|
2 |
<BODY> |
---|
3 |
<A HREF = "index.html">[Index for ./IO_Functions]</A> |
---|
4 |
<A HREF = "../index.html">[Return to Master Index]</A> |
---|
5 |
<H1>read_nei</H1> |
---|
6 |
<H2>(./IO_Functions/read_nei.m)</H2> |
---|
7 |
<HR><H3>Function Synopsis</H3> |
---|
8 |
<pre>[x,y,ic,z,nbs]=read_nei(fname);</pre> |
---|
9 |
<HR><H3>Help text</H3> |
---|
10 |
<pre> |
---|
11 |
READ_NEI read a FEM neighbor file of .nei filetype. |
---|
12 |
|
---|
13 |
[x,y,bc,z,nbs]=read_nei(fname); |
---|
14 |
|
---|
15 |
Input : If fname is omitted, READ_NEI enables a file browser |
---|
16 |
with which the user can specify the .NEI file. |
---|
17 |
|
---|
18 |
Otherwise, fname is the name of the .nei file, relative |
---|
19 |
or absolute (fullpath), including the suffix .'nei'. |
---|
20 |
This input is a string so it must be enclosed in |
---|
21 |
single quotes. |
---|
22 |
|
---|
23 |
Output : Five (5) arrays are returned to the local workspace: |
---|
24 |
1) x - x-coordinates of the grid |
---|
25 |
2) y - y-coordinates of the grid |
---|
26 |
3) bc - boundary codes for each horizontal node |
---|
27 |
4) z - bathymetry of the grid |
---|
28 |
5) nbs - neighbor list of grid's nodes |
---|
29 |
|
---|
30 |
Call as: [x,y,bc,z,nbs]=read_nei(fname); |
---|
31 |
|
---|
32 |
Written by Brian Blanton |
---|
33 |
January 1996 |
---|
34 |
|
---|
35 |
</pre> |
---|
36 |
<HR> |
---|
37 |
Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb 2 16:15:45 EST 1999 |
---|
38 |
<BR> |
---|
39 |
Cross-Directory links are: OFF<BR> |
---|
40 |
</BODY> |
---|