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

root/gliderproc/trunk/MATLAB/opnml/html/3.FEM/basis1d1.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>basis1d1</H1>
6 <H2>(./FEM/basis1d1.m)</H2>
7 <HR><H3>Function Synopsis</H3>
8 <pre>[b2,n2,b1,n1]=basis1d1(zref,zdes)</pre>
9 <HR><H3>Help text</H3>
10 <pre>
11 ***********************************************************************
12 ***********************************************************************
13  function [b2,n2,b1,n1]=basis1d1(zref,zdes)
14 -----------------------------------------------------------------------
15  purpose: This subroutine evaluates the value of the basis functions
16             alive on a 1-D linear element at a point
17
18  restrictions: Applicable only for  1-D linear elements
19
20  inputs:  nn is the number of entries in the reference z array
21           zref(nn) is the 1-D array containing the reference z array
22                NOTE: zref must increase from zref(1) to zref(nn)
23           zdes is the z value at which the basis functions are desired
24
25  outputs: n1 is the reference node immediately below zdes
26           b1 is the value of the n1's basis function at zdes
27           n2 is the reference node immediately above zdes
28           b2 is the value of the n2's basis function at zdes
29
30  notes:   zdes&lt;zref(1)  =&gt; n1=nn,b1=0.0,n2=1,b2=1.0
31           zdes&gt;zref(nn) =&gt; n1=nn,b1=1.0,n2=1,b2=0.0
32
33  history:  Written by Christopher E. Naimie
34            Dartmouth College
35            26 AUGUST 1992
36 -----------------------------------------------------------------------
37 </pre>
38 <HR>
39 Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb  2 16:15:45 EST 1999
40 <BR>
41 Cross-Directory links are: OFF<BR>
42 </BODY>
Note: See TracBrowser for help on using the browser.