1 |
%FEM_GRID_STRUCT - Finite element method (FEM) grid description structure |
---|
2 |
% FEM_GRID_STRUCT is a structure containing the components |
---|
3 |
% that make up a finite element grid. The structure contains |
---|
4 |
% the following MINIMUM set of fields. FEM_GRID_STRUCT is NOT a |
---|
5 |
% function. This is just the description file for the structure. |
---|
6 |
% |
---|
7 |
% .name - the domain name of the FEM grid |
---|
8 |
% .e - node connectivity list (linear, triangular) [ne x 3 double] |
---|
9 |
% .x - x-horizontal node coordinates [nn x 1 double] |
---|
10 |
% .y - y-horizontal node coordinates [nn x 1 double] |
---|
11 |
% .z - bathymetry list [nn x 1 double] |
---|
12 |
% .bnd - boundary segment list [nb x 2 double] |
---|
13 |
% |
---|
14 |
% The above set of fields is considered minimum from an OPNML/MATLAB |
---|
15 |
% post-processing standpoint. |
---|
16 |
% |
---|
17 |
% The .bnd file need not exist on disk. The OPNML/MATLAB function |
---|
18 |
% LOADGRID can build the .bnd array if it is not located with |
---|
19 |
% the other grid files. Note that the .bnd field is not used by the |
---|
20 |
% FEM models themselves, but is required by OPNML/MATLAB to speed up |
---|
21 |
% the plotting of large domains. |
---|
22 |
% |
---|
23 |
% If land description files are located by LOADGRID, then the |
---|
24 |
% land description arrays will be attached to the structure as |
---|
25 |
% the .lnd and .lbe fields. These fields are used by the function |
---|
26 |
% LNDFILL to mask out the exterior of the FEM domain when using the |
---|
27 |
% FDCONT contour/vector plotting tools. See FDCONT and LNDMAKE for |
---|
28 |
% details. |
---|
29 |
% |
---|
30 |
% All OPNML/MATLAB function that takes a structure as an input argument |
---|
31 |
% will REQUIRE atleast these fields to be filled. Some functions |
---|
32 |
% will use more fields, some less. |
---|
33 |
% |
---|
34 |
% The function LOADGRID returns a structure containing the above |
---|
35 |
% minimum fields. Other functions may add fields, and even modify the |
---|
36 |
% minimum field contents, and the user is free to add fields as long as |
---|
37 |
% the user-added field names do not conflict with existing or reserved |
---|
38 |
% field names. The only currently reserved field names as above. |
---|
39 |
% |
---|
40 |
|
---|
41 |
% |
---|
42 |
% Brian O. Blanton |
---|
43 |
% Department of Marine Sciences |
---|
44 |
% 15-1A Venable Hall |
---|
45 |
% CB# 3300 |
---|
46 |
% University of North Carolina |
---|
47 |
% Chapel Hill, NC |
---|
48 |
% 27599-3300 |
---|
49 |
% |
---|
50 |
% 919-962-4466 |
---|
51 |
% blanton@marine.unc.edu |
---|
52 |
% |
---|
53 |
% Summer 1997 |
---|
54 |
% |
---|
55 |
|
---|