node43.html

来自「htmdoc for html coding」· HTML 代码 · 共 511 行

HTML
511
字号
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2 Final//FR"><!-- Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) --><!-- by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --><!-- Modified Simulog 03/97 --><HTML><HEAD><TITLE>1.7 DS GEOM</TITLE><LINK REL=STYLESHEET TYPE="text/css"	HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value="1.7 DS GEOM"><meta name="keywords" value="Guide2"><meta name="resource-type" value="document"><meta name="distribution" value="global"></HEAD><BODY BGCOLOR="#FFFFFF"><P> <IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM	ALT="Modulef"><A NAME=tex2html953 HREF="node42.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif"	ALT="previous"></A><A NAME=tex2html959 HREF="node35.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif"	ALT="up"></A><A NAME=tex2html961 HREF="node44.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif"	ALT="next"></A><A NAME=tex2html963 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif"	ALT="contents"></A><A NAME=tex2html964 HREF="node58.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/index_motif.gif"	ALT="index"></A><A HREF="../Guide2-18/node43.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM	ALT="[BIG]"></A><A HREF="../Guide2-14/node43.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM	ALT="[Normal]"></A><A HREF="../Guide2-10/node43.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM	ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html962 HREF="node44.html">1.8 DS MAIL</A><B>Up: </B> <A NAME=tex2html960 HREF="node35.html">1 Description of DS by type</A><B> Prev: </B> <A NAME=tex2html954 HREF="node42.html">1.6 DS FORC</A><B><A HREF="node58.html"	>Index</A></B><B><A HREF="node2.html"	>Contents</A></B><HR SIZE=3 WIDTH="75&#37;"><H1><A NAME=SECTION05180000000000000000>1.7 DS GEOM</A></H1><A NAME=4719>&#160;</A><P><P><P><H2><A NAME=SECTION05181000000000000000>1.7.1 Contents</A></H2><P><P><P>This DS stores mesh information in a form which is more adapted to the graphics requirements than DS <b> NOPO</b>. This structure contains a description of the element in terms of volumes, the volumes in termsof faces,  the faces in terms of edges, and the edges in terms of points. It therefore correspondsto accessing the information by means of pointers. The space required to contain this type of DS is bigger than in the case of a DS <b> NOPO</b>, mentioned above.<P>DS <b> GEOM</b> consists of eight arrays of predefined order.<P><DL COMPACT><DT>Array GEO0:<DD> General information. <BR><P>This integer array contains 32 variables, consisting of a general description of the job(title, date, name), of DS <b> GEOM</b> (type, level, ...), and indicates the presence or absence ofarray <b> GEO1</b>.<P><DL COMPACT><DT> 1:20 <tt> TITRE</tt><DD><P>the job title in 20 words of 4 characters,<P> </DL><P><DL COMPACT><DT> 21:22 <tt> DATE</tt><DD><P>the date of creation in 2 words of 4 characters,<P> </DL><P><DL COMPACT><DT> 23:28 <tt> NOMCRE</tt><DD><P>the creator's name in 6 words of 4 characters,<P> </DL><P><DL COMPACT><DT> 29 <tt> 'GEOM'</tt><DD><P>the DS type,<P> </DL><P><DL COMPACT><DT> 30 <tt> NIVEAU</tt><DD><P>the DS level,<P> </DL><P><DL COMPACT><DT> 31 <tt> ETAT</tt><DD><P>a reserved parameter,<P> </DL><P><DL COMPACT><DT> 32 <tt> NTACM</tt><DD><P>the number of supplementary arrays <BR> (they are described in array <b> GEO1</b>).<P> </DL><P><DT>Array  GEO1:<DD> Description of any supplementary arrays. <BR><P>This array is analogous to array <b> B1</b> of DS <b> B</b> (see this DS).<P><DT>Array GEO2:<DD> General mesh description. <BR><P>This integer array contains 15 values.<P><DL COMPACT><DT> 1 <tt> NDIM</tt><DD><P>the space dimension (2 or 3),<P> </DL><P><DL COMPACT><DT> 2 <tt> NBSOM</tt><DD><P>the number of mesh vertices,<P> </DL><P><DL COMPACT><DT> 3 <tt> NBARET</tt><DD><P>the number of edges,<P> </DL><P><DL COMPACT><DT> 4 <tt> NBFAC</tt><DD><P>the number of faces,<P> </DL><P><DL COMPACT><DT> 5 <tt> NBVOL</tt><DD><P>the number of volumes,<P> </DL><P><DL COMPACT><DT> 6 <tt> NTRI</tt><DD><P>the number of triangles or triangular faces,<P> </DL><P><DL COMPACT><DT> 7 <tt> NQUA</tt><DD><P>the number of quadrilaterals or quadrilateral faces,<P> </DL><P><DL COMPACT><DT> 8 <tt> NTET</tt><DD><P>the number of tetrahedra,<P> </DL><P><DL COMPACT><DT> 9 <tt> NPEN</tt><DD><P>the number of pentahedra,<P> </DL><P><DL COMPACT><DT> 10 <tt> NHEX</tt><DD><P>the number of hexahedra,<P> </DL><P><DL COMPACT><DT> 11 <tt> NBSF</tt><DD><P>the number of boundary vertices,<P> </DL><P><DL COMPACT><DT> 12 <tt> NBAF</tt><DD><P>the number of boundary edges,<P> </DL><P><DL COMPACT><DT> 13 <tt> NBFF</tt><DD><P>the number of boundary faces,<P> </DL><P><DL COMPACT><DT> 14 <tt> NCCF</tt><DD><P>the number of  connected components in the domain,<P> </DL><P><DL COMPACT><DT> 15 <tt> NCFF</tt><DD><P>the number of  connected components in the boundary.<P> </DL><P><DT>Array GEO3:<DD>  Description of elements in terms of faces. <BR><P>This integer array contains, for each element (considered as a volume):<P><P>Loop i from 1 to  NBVOL<UL><LI> NBFE, the number of element faces<LI>Loop j from 1 to NBFE<UL><LI> IPF, the address in array <b> GEO4</b> of face j and the orientationof its normal (IPF <b>&gt;</b> 0  it is an outward  normal)</UL> End of loop j<LI> NDSDE, the element sub-domain number</UL> End of loop i<P><P><DT>Array GEO4:<DD>  Description of faces in terms of edges. <BR><P>This integer array contains, for each face:<P>Loop i from 1 to NBFAC<UL><LI> NUMGLO, the global face number<LI> NBRAR, the number of edges of face i and its position (NBRAR <b>&gt;</b> 0 if it is a boundary edge)<LI>Loop j from 1 to NBRAR<UL><LI> IPF, the address in array <b> GEO5</b> of edge j and its  orientation(IPF  <b>&gt;</b> 0  if it runs in a positive direction)</UL> End of loop j<LI> NREFA, the face reference number</UL> End of loop i<P><DT>Array  GEO5:<DD>  Description of edges in terms of vertices. <BR><P>This integer array contains, for each edge:<P>Loop i from 1 to NBARET<UL><LI> NUM1, the number of vertex 1 on the edge (<b>&gt;</b> 0, if it is a boundary edge<FONT color="#B8860B" SIZE=-1><I>(<IMG ALIGN=middle SRC="../icons/foot_motif.gif"	ALT="[note]"> Indeed if the edge is a boundary face edge in three dimensions, or a boundary in two dimensions.)</I></FONT>),  <LI> NUM2, the number of vertex 2 on the edge,<LI> NREFR, the  reference number of the edge.</UL> End of loop i<P><DT>Array GEO6:<DD> Vertex coordinates. <BR><P>This real single precision array contains the vertex coordinates:<P><i> X1, Y1, X2, Y2, ...</i>, or <BR> <i> X1, Y1, Z1, X2, ...</i><P><DT>Array GEO7:<DD> Vertex reference numbers. <BR><P>This integer array contains the reference numbers of the NBSOM vertices.<P><DT><DD><DT>Remark:<DD> In this DS, the definition of the  points, edges and faces is slightly different to that used for DS <b> NOPO</b> in the case of meshes  which are &quot;richer&quot; than those for which the nodes and vertices are identical. For example, a &quot;curved&quot; edge  (2 points, 3 nodes) is, in thiscase, represented as the set of 2 geometric edges (3 points, 2 straight segments).  <IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img126.gif">  </DL><P><P><P><H2><A NAME=SECTION05182000000000000000>1.7.2 Corresponding tools</A></H2><P><P><P><H3><A NAME=SECTION05182100000000000000> Reading and writing a DS GEOM</A></H3><P>A DS residing in main memory is written, as a whole (it is a category 1 DS), to a sequential file via module <b> SDECRI</b>. Similarly, it is read as a whole into main memory via module <b> SDLECT</b>.<P><P><P><H3><A NAME=SECTION05182200000000000000> Printing a DS GEOM and plotting a mesh</A></H3><P><P><P>The contents (total or partial) of a DS <b> GEOM</b> can be printed by the following modules:<P><DL COMPACT><DT>IMGEOM:<DD> the entire  DS (according to the print parameter IMPRE)<P><PRE>      SUBROUTINE  IMGEOM(M,NFGEOM,NIGEOM,IMPRE)C AIM : PRINT THE ARRAYS IN DS GEOM, INCREASING WITH IMPREC ---   FILE NFGEOM (OR MC IF 0), LEVEL NIGEOM</PRE><P><DT>INFOGE:<DD> a particular value contained in the DS<P><PRE>      SUBROUTINE INFOGE(M,IOPT,TYPESD,NIVEAU,TAB2,TAB3,TAB4,TAB5,TAB6,     +                  TAB7,NUMREC,XREC,YREC,ZREC)C AIM : OUTPUT SOME INFORMATION IF A MESH DS</PRE><P>Preprocessors  <b> IMAGXX</b> and <b> INFOXX</b> are used when a conversational call of <b> IMGEOM</b> and <b> INFOGE</b>,respectively, is desired.<P> </DL><P>The mesh contained in a file can be plotted via preprocessor <b> TRNOXX</b> [<A HREF="node57.html#mod_96">96</A>].<P><P><P><H3><A NAME=SECTION05182300000000000000> Creation and modification modules for DS GEOM</A></H3><P><P><P>DS  <b> GEOM</b>, serving as a graphics DS, is created from a DS <b> NOPO</b> by module <b> NOPGEO</b>:<P><DL COMPACT><DT>NOPGEO:<DD> converts a DS <b> NOPO</b> into a DS <b> GEOM</b><P><PRE>      SUBROUTINE NOPGEO(M,NFNOPO,NINOPO,NFGEOM,NIGEOM,NCCF)C AIM : TRANSFORM A DS NOPO INTO AN DS GEOM</PRE><P> </DL><P>The inverse operation is performed by module <b> GEONOP</b>:<P><DL COMPACT><DT>GEONOP:<DD> converts a DS  <b> GEOM</b> into a DS <b> NOPO</b><P><PRE>      SUBROUTINE GEONOP(M,NFGEOM,NIGEOM,NFNOPO,NINOPO)C AIM : TRANSFORMS A DS GEOM INTO A NOPO</PRE><P> </DL><P>Preprocessor  <b> NOPGXX</b> is used to call module <b> NOPGEO</b>, whereas<b> GEONXX</b> calls module <b> GEONOP</b>.<P><P> <HR SIZE=3 WIDTH="75&#37;"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM	ALT="Modulef"><A NAME=tex2html953 HREF="node42.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif"	ALT="previous"></A><A NAME=tex2html959 HREF="node35.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif"	ALT="up"></A><A NAME=tex2html961 HREF="node44.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif"	ALT="next"></A><A NAME=tex2html963 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif"	ALT="contents"></A><A NAME=tex2html964 HREF="node58.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/index_motif.gif"	ALT="index"></A><A HREF="../Guide2-18/node43.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM	ALT="[BIG]"></A><A HREF="../Guide2-14/node43.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM	ALT="[Normal]"></A><A HREF="../Guide2-10/node43.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM	ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html962 HREF="node44.html">1.8 DS MAIL</A><B>Up: </B> <A NAME=tex2html960 HREF="node35.html">1 Description of DS by type</A><B> Prev: </B> <A NAME=tex2html954 HREF="node42.html">1.6 DS FORC</A><B><A HREF="node58.html"	>Index</A></B><B><A HREF="node2.html"	>Contents</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?