NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/gliderproc/trunk/MATLAB/opnml/html/7.mat4/loadgrid4.html

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 ./mat4]</A>
4 <A HREF = "../index.html">[Return to Master Index]</A>
5 <H1>loadgrid4</H1>
6 <H2>(./mat4/loadgrid4.m)</H2>
7 <HR><H3>Function Synopsis</H3>
8 <pre>[ele,x,y,z,bnd]=loadgrid4(gridname)</pre>
9 <HR><H3>Help text</H3>
10 <pre>
11 LOADGRID4   load principle gridfiles for a given domain name (input)
12  
13   Input:    gridname - name of domain to load grid files
14
15  Output:    LOADGRID4 returns the following in this order (ALL OUTPUT
16             ARGUMENTS ARE REQUIRED!!):
17                 1)  3-column element list (columns 2-4 of .ele file )
18                 2)  x-coordinate node list ( col 2 of .nod file )
19                 3)  y-coordinate node list ( col 3 of .nod file )
20                 4)  bathymetry list (col 2 of .bat) file
21                 5)  boundary node/pair list (.bnd file )
22
23             LOADGRID4 with no input gridname checks to see if the global
24             variable DOMAIN has been set.  If so, LOADGRID4 uses this
25             name to load files for.  If DOMAIN does NOT exist or is 
26             empty, the input gridname must be specified. 
27
28             If the boundary list (.bnd) exists locally, LOADGRID4
29             attempts to load the remaining files locally.  If the .bnd
30             file does NOT exist locally, LOADGRID4 searches the
31             GRIDS and GRIDDIRS global variables for the grid data.
32
33             If any of the principle grids files does not exist, LOADGRID4
34             displays the appropriate message and exits, returning empty
35             arrays for missing variables.
36            
37             In a call to LOADGRID4, space must be provided for the
38             output data to be returned.  Therefore, call LOADGRID4
39             as follows:
40             &gt;&gt; [ele,x,y,z,bnd]=loadgrid4(gridname);
41             There are 5 variables in the output list, one for each
42             returned array. 
43
44  Call as: [ele,x,y,z,bnd]=loadgrid4(gridname);
45
46  Written by : Brian O. Blanton
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>
Note: See TracBrowser for help on using the browser.