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

root/gliderproc/trunk/MATLAB/opnml/html/3.FEM/interp_scalar.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 ./FEM]</A>
4 <A HREF = "../index.html">[Return to Master Index]</A>
5 <H1>interp_scalar</H1>
6 <H2>(./FEM/interp_scalar.m)</H2>
7 <HR><H3>Function Synopsis</H3>
8 <pre>[outq,jj]=interp_scalar(fem_grid_struct,q,x,y,j)</pre>
9 <HR><H3>Help text</H3>
10 <pre>
11 INTERP_SCALAR - interpolate scalar values onto scatter points
12    INTERP_SCALAR Interpolates a scalar defined at all 2-D grid points
13    in the <A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A> onto the scattered points (x,y).
14
15      INPUT : <A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A> (from <A HREF = "../3.FEM/loadgrid.html">LOADGRID</A>, see <A HREF = "../3.FEM/fem_grid_struct.html">FEM_GRID_STRUCT</A>)
16               q - scalar field to interpolate
17               x,y - points to interpolate to (optional)
18               j - elements that contain x,y points (optional)
19
20      If x,y are not passed in, INTERP_SCALAR prompts the user
21      to specify a location with the mouse.  In this case,
22      the location, element number, and interpolated vaule
23      are returned through the first output argument, or else
24      to the screen, as [x y j outq].
25
26      If j is not passed in, INTERP_SCALAR locates the points
27      within <A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A> and returns the element list
28      if two output arguments are provided.
29
30     OUTPUT : outq - interpolated values
31               j    - elements (optional)
32               x,y  - mouse-specified point (optional)
33
34       CALL : outq=interp_scalar(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>,q); (mouse-driven)
35               [outq,j]=interp_scalar(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>,q,x,y);
36               outq=interp_scalar(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>,q,x,y,j);
37
38    Written by : Brian O. Blanton
39    Summer 1998
40 </pre>
41 <HR><H3>Cross-Reference Information</H3>This function calls
42 <pre><UL>
43 <LI><A HREF = "../3.FEM/belint.html">belint</A>         ./FEM/belint.m</LI>
44 <LI><A HREF = "../3.FEM/el_areas.html">el_areas</A>       ./FEM/el_areas.m</LI>
45 <LI><A HREF = "../3.FEM/is_valid_struct.html">is_valid_struct</A>./FEM/is_valid_struct.m</LI>
46 <LI><A HREF = "../3.FEM/is_valid_struct2.html">is_valid_struct2</A>./FEM/is_valid_struct2.m</LI>
47 </UL></pre>
48 <HR>
49 Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb  2 16:15:45 EST 1999
50 <BR>
51 Cross-Directory links are: OFF<BR>
52 </BODY>
Note: See TracBrowser for help on using the browser.