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>fem_grid_struct</H1> |
---|
6 |
<H2>(./FEM/fem_grid_struct.m)</H2> |
---|
7 |
<HR><H3>Help text</H3> |
---|
8 |
<pre> |
---|
9 |
FEM_GRID_STRUCT - Finite element method (FEM) grid description structure |
---|
10 |
FEM_GRID_STRUCT is a structure containing the components |
---|
11 |
that make up a finite element grid. The structure contains |
---|
12 |
the following MINIMUM set of fields. FEM_GRID_STRUCT is NOT a |
---|
13 |
function. This is just the description file for the structure. |
---|
14 |
|
---|
15 |
.name - the domain name of the FEM grid |
---|
16 |
.e - node connectivity list (linear, triangular) [ne x 3 double] |
---|
17 |
.x - x-horizontal node coordinates [nn x 1 double] |
---|
18 |
.y - y-horizontal node coordinates [nn x 1 double] |
---|
19 |
.z - bathymetry list [nn x 1 double] |
---|
20 |
.bnd - boundary segment list [nb x 2 double] |
---|
21 |
|
---|
22 |
The above set of fields is considered minimum from an OPNML/MATLAB |
---|
23 |
post-processing standpoint. |
---|
24 |
|
---|
25 |
The .bnd file need not exist on disk. The OPNML/MATLAB function |
---|
26 |
<A HREF = "../3.FEM/loadgrid.html">LOADGRID</A> can build the .bnd array if it is not located with |
---|
27 |
the other grid files. Note that the .bnd field is not used by the |
---|
28 |
FEM models themselves, but is required by OPNML/MATLAB to speed up |
---|
29 |
the plotting of large domains. |
---|
30 |
|
---|
31 |
If land description files are located by <A HREF = "../3.FEM/loadgrid.html">LOADGRID</A>, then the |
---|
32 |
land description arrays will be attached to the structure as |
---|
33 |
the .lnd and .lbe fields. These fields are used by the function |
---|
34 |
LNDFILL to mask out the exterior of the FEM domain when using the |
---|
35 |
FDCONT contour/vector plotting tools. See FDCONT and LNDMAKE for |
---|
36 |
details. |
---|
37 |
|
---|
38 |
All OPNML/MATLAB function that takes a structure as an input argument |
---|
39 |
will REQUIRE atleast these fields to be filled. Some functions |
---|
40 |
will use more fields, some less. |
---|
41 |
|
---|
42 |
The function <A HREF = "../3.FEM/loadgrid.html">LOADGRID</A> returns a structure containing the above |
---|
43 |
minimum fields. Other functions may add fields, and even modify the |
---|
44 |
minimum field contents, and the user is free to add fields as long as |
---|
45 |
the user-added field names do not conflict with existing or reserved |
---|
46 |
field names. The only currently reserved field names as above. |
---|
47 |
|
---|
48 |
</pre> |
---|
49 |
<HR> |
---|
50 |
Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb 2 16:15:45 EST 1999 |
---|
51 |
<BR> |
---|
52 |
Cross-Directory links are: OFF<BR> |
---|
53 |
</BODY> |
---|