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>write_nei</H1> |
---|
6 |
<H2>(./IO_Functions/write_nei.m)</H2> |
---|
7 |
<HR><H3>Function Synopsis</H3> |
---|
8 |
<pre>errno=write_nei(x,y,bc,z,nbs,fname)</pre> |
---|
9 |
<HR><H3>Help text</H3> |
---|
10 |
<pre> |
---|
11 |
WRITE_NEI Write a FEM neighbor file in .nei format. |
---|
12 |
WRITE_NEI requires 5 input arguments, with 1 optional argument: |
---|
13 |
1) x - x-coordinates of the grid (REQ) |
---|
14 |
2) y - y-coordinates of the grid (REQ) |
---|
15 |
3) bc - boundary codes for each horizontal node (REQ) |
---|
16 |
4) z - bathymetry of the grid (REQ) |
---|
17 |
5) nbs - neighbor list of grid's nodes (REQ) |
---|
18 |
6) fname - output filename (OPT) |
---|
19 |
|
---|
20 |
If fname is omitted, WRITE_NEI enables a file browser |
---|
21 |
with which the user can specify the .NEI file. |
---|
22 |
Otherwise, fname is the name of the .nei file, relative |
---|
23 |
or absolute (fullpath), including the suffix .'nei'. |
---|
24 |
This input is a string so it must be enclosed in |
---|
25 |
single quotes. |
---|
26 |
|
---|
27 |
WRITE_NEI checks the lengths of input arrays and the |
---|
28 |
structure of the neighbor list for some minimal |
---|
29 |
error checking. This is not, however, very rigorous. |
---|
30 |
|
---|
31 |
CALL: err=write_nei(x,y,bc,z,nbs,fname); |
---|
32 |
err=write_nei(x,y,bc,z,nbs); |
---|
33 |
|
---|
34 |
Written by : Brian O. Blanton |
---|
35 |
March 1996 |
---|
36 |
|
---|
37 |
</pre> |
---|
38 |
<HR> |
---|
39 |
Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb 2 16:15:45 EST 1999 |
---|
40 |
<BR> |
---|
41 |
Cross-Directory links are: OFF<BR> |
---|
42 |
</BODY> |
---|