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>basis2d</H1> |
---|
6 |
<H2>(./FEM/basis2d.m)</H2> |
---|
7 |
<HR><H3>Function Synopsis</H3> |
---|
8 |
<pre>[phi,jj]=basis2d(fem_grid_struct,xylist,j)</pre> |
---|
9 |
<HR><H3>Help text</H3> |
---|
10 |
<pre> |
---|
11 |
BASIS2D compute basis functions for input points in FEM grid |
---|
12 |
BASIS2D computes the FEM basis functions for a given |
---|
13 |
horizontal position, specified either in the argument |
---|
14 |
list or with the mouse. |
---|
15 |
|
---|
16 |
In determining which element has been selected, |
---|
17 |
BASIS2D needs elemental areas and shape functions. |
---|
18 |
Element areas are returned by <A HREF = "../3.FEM/loadgrid.html">LOADGRID</A>. |
---|
19 |
The routine <A HREF = "../3.FEM/belint.html">BELINT</A> computes shape function information |
---|
20 |
and attaches it to the input <A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>. |
---|
21 |
These two functions MUST be run before BASIS2D will |
---|
22 |
run. |
---|
23 |
|
---|
24 |
<A HREF = "../3.FEM/belint.html">BELINT</A> is run as: |
---|
25 |
new_struct=<A HREF = "../3.FEM/belint.html">belint</A>(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>); |
---|
26 |
If ever needed, <A HREF = "../3.FEM/el_areas.html">EL_AREAS</A> is run as: |
---|
27 |
[new_struct,ineg]=<A HREF = "../3.FEM/el_areas.html">el_areas</A>(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>); |
---|
28 |
|
---|
29 |
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>) |
---|
30 |
xylist (op) - points to find elements for [n x 2 double] |
---|
31 |
j (op) - element list corresponding to the xylist |
---|
32 |
set of points. Optional, but isf passed in, |
---|
33 |
points will not be relocated. length(j) must |
---|
34 |
equal length(xylist). |
---|
35 |
|
---|
36 |
OUTPUT : basis function(s) and element number(s) |
---|
37 |
If elements were NOT passed in, then providing two output |
---|
38 |
arguments will collect the elements determined to contain the |
---|
39 |
specified points. |
---|
40 |
|
---|
41 |
CALL : >> [phi,j]=basis2d(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>) for interactive |
---|
42 |
or |
---|
43 |
>> [phi,j]=basis2d(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>,xylist) |
---|
44 |
or |
---|
45 |
>> phi=basis2d(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>,xylist,j) |
---|
46 |
|
---|
47 |
Written by : Brian O. Blanton |
---|
48 |
Summer 1998 |
---|
49 |
|
---|
50 |
</pre> |
---|
51 |
<HR><H3>Cross-Reference Information</H3>This function calls |
---|
52 |
<pre><UL> |
---|
53 |
<LI><A HREF = "../3.FEM/findelem.html">findelem</A> ./FEM/findelem.m</LI> |
---|
54 |
<LI><A HREF = "../3.FEM/is_valid_struct.html">is_valid_struct</A>./FEM/is_valid_struct.m</LI> |
---|
55 |
<LI><A HREF = "../3.FEM/is_valid_struct2.html">is_valid_struct2</A>./FEM/is_valid_struct2.m</LI> |
---|
56 |
</UL></pre> |
---|
57 |
<HR> |
---|
58 |
Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb 2 16:15:45 EST 1999 |
---|
59 |
<BR> |
---|
60 |
Cross-Directory links are: OFF<BR> |
---|
61 |
</BODY> |
---|