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

root/gliderproc/trunk/MATLAB/opnml/html/4.IO_Functions/read_v2c.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 ./IO_Functions]</A>
4 <A HREF = "../index.html">[Return to Master Index]</A>
5 <H1>read_v2c</H1>
6 <H2>(./IO_Functions/read_v2c.m)</H2>
7 <HR><H3>Function Synopsis</H3>
8 <pre>[data,freq,gridname]=read_v2c(fname)</pre>
9 <HR><H3>Help text</H3>
10 <pre>
11 READ_V2C read a FEM output file of .<A HREF = "../4.IO_Functions/v2c.html">v2c</A> filetype.
12    READ_V2C is part of a suite of OPNML I/O functions 
13    to read specific filetypes pertaining to FEM model 
14    input and output.   These functions allow the user to
15    get these data files into MATLAB without copying the
16    files and removing the header info by hand.
17
18    READ_V2C reads the FEM filetype .<A HREF = "../4.IO_Functions/v2c.html">v2c</A>, as
19    detailed in &quot;Data File Standards for the Gulf of Maine
20    Project&quot; from the Numerical Methods Laboratory at
21    Dartmouth College.  (This document is located in the OPNML
22    notebook under External Documents.)  There are five
23    columns, the first of which is the node number.  The
24    remaining columns are floating point. The filetype
25    suffix ('.<A HREF = "../4.IO_Functions/v2c.html">v2c</A>') must be included in the input file name. 
26
27    Input :   If fname is omitted, READ_V2C enables a file browser
28              with which the user can specify the .<A HREF = "../4.IO_Functions/v2c.html">v2c</A> file.
29
30              Otherwise, fname is the name of the file, relative or
31              absolute (fullpath).  This input is a string so it must
32              must be enclosed in single quotes. The comment line
33              is discarded.
34
35   Output :   Call READ_V2C as:
36              &gt;&gt; [data,freq,gname]=read_v2c(fname);
37              The domain name will be returned in &quot;gname&quot;.
38              The frequency in rads/secs is returned in &quot;freq&quot;.
39              The node counter and amplitude and phase of the
40              u and v components of the vector field are returned
41              in &quot;data&quot;.
42
43              If READ_V2C cannot locate the file, it exits, returning
44              a -1 instead of the data matrix.
45
46  Call as: [data,freq,gname]=read_v2c(fname);
47
48  Written by : Brian O. Blanton
49
50 </pre>
51 <HR>
52 Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb  2 16:15:45 EST 1999
53 <BR>
54 Cross-Directory links are: OFF<BR>
55 </BODY>
Note: See TracBrowser for help on using the browser.