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

root/gliderproc/trunk/MATLAB/opnml/html/3.FEM/el_areas.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>el_areas</H1>
6 <H2>(./FEM/el_areas.m)</H2>
7 <HR><H3>Function Synopsis</H3>
8 <pre>[ret_struct,ineg]=el_areas(fem_grid_struct)</pre>
9 <HR><H3>Help text</H3>
10 <pre>
11  EL_AREAS - compute triangular finite element areas
12
13          EL_AREAS(<A HREF = "../3.FEM/fem_grid_struct.html">FEM_GRID_STRUCT</A>) computes the areas for the
14          elements of the FEM domain described in the
15          structure <A HREF = "../3.FEM/fem_grid_struct.html">FEM_GRID_STRUCT</A>.  The function must
16          return a new structure, which is identical to the
17          input structure with the element areas attached.
18          The element areas are contained in the field .ar,
19          so that the new structure now includes:
20
21          .ar   - element areas                    [ne x 1 double] 
22          
23
24          EL_AREAS optionally returns an index of element
25          numbers whose areas are negative (if any).
26          Negative element areas indicate clockwise elemental
27          node numbering, instead of the conventional counter-
28          clockwise numbering.
29
30   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>)       
31            
32  OUTPUT : new_struct (REQ) - new structure with areas
33           ineg       (OPT) - index of negative area elements
34
35    CALL : &gt;&gt;new_struct=el_areas(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>);
36     or
37           &gt;&gt;[new_struct,ineg]=el_areas(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>);
38
39  Written by : Brian O. Blanton
40  Summer 1997
41
42 </pre>
43 <HR><H3>Cross-Reference Information</H3>This function calls
44 <pre><UL>
45 <LI><A HREF = "../3.FEM/is_valid_struct.html">is_valid_struct</A>./FEM/is_valid_struct.m</LI>
46 </UL></pre>
47 This function is called by
48 <pre><UL>
49 <LI><A HREF = "../3.FEM/interp_scalar.html">interp_scalar</A>  ./FEM/interp_scalar.m</LI>
50 <LI><A HREF = "../3.FEM/loadgrid.html">loadgrid</A>       ./FEM/loadgrid.m</LI>
51 </UL></pre>
52 <HR>
53 Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb  2 16:15:45 EST 1999
54 <BR>
55 Cross-Directory links are: OFF<BR>
56 </BODY>
Note: See TracBrowser for help on using the browser.