node41.html
来自「htmdoc for html coding」· HTML 代码 · 共 350 行
HTML
350 行
<!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.5 DS COOR</TITLE><LINK REL=STYLESHEET TYPE="text/css" HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value="1.5 DS COOR"><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=tex2html929 HREF="node40.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html935 HREF="node35.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html937 HREF="node42.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html939 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A NAME=tex2html940 HREF="node58.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/index_motif.gif" ALT="index"></A><A HREF="../Guide2-18/node41.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide2-14/node41.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide2-10/node41.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html938 HREF="node42.html">1.6 DS FORC</A><B>Up: </B> <A NAME=tex2html936 HREF="node35.html">1 Description of DS by type</A><B> Prev: </B> <A NAME=tex2html930 HREF="node40.html">1.4 DS BDCL</A><B><A HREF="node58.html" >Index</A></B><B><A HREF="node2.html" >Contents</A></B><HR SIZE=3 WIDTH="75%"><H1><A NAME=SECTION05160000000000000000>1.5 DS COOR</A></H1><A NAME=4088> </A><P><P><P><H2><A NAME=SECTION05161000000000000000>1.5.1 Contents</A></H2><P><P><P>This DS is used to store the point or node coordinates in a mesh.<P>DS <b> COOR</b> consists of five arrays of predefined order.<P><DL COMPACT><DT>Array COO0:<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> COOR</b> (type, level, ...), and indicates the presence or absence ofarray <b> COO1</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> 'B'</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> COO1</b>).<P> </DL><P><DT>Array COO1:<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 COO2:<DD> General description of the DS. <BR><P>This integer array contains 7 values.<P><DL COMPACT><DT> 1 <tt> NTYP</tt><DD><P>the type of array <b> COO4</b>,<P> </DL><P><DL COMPACT><DT> 2 <tt> NIND</tt><DD><P>the number of indices (set to 2),<P> </DL><P><DL COMPACT><DT> 3 <tt> M1</tt><DD><P>the maximum value of its first index (NDIM, the space dimension),<P> </DL><P><DL COMPACT><DT> 4 <tt> M2</tt><DD><P>the maximum value of its second index (for example, NP or NOE, depending on the space available),<P> </DL><P><DL COMPACT><DT> 5 <tt> NCOD</tt><DD><P>the code for splitting array <b> COO4</b> into blocks, where:<P><UL><LI> NCOD = 1 is all the blocks are equal in size (except the last), and<LI> NCOD = 0 if not. <BR> </UL> </DL><P><DL COMPACT><DT> 6 <tt> NBLOC</tt><DD><P>the number of blocks,<P> </DL><P><DL COMPACT><DT> 7 <tt> NTACOO</tt><DD><P>the coordinate type:<UL><LI> 1: Cartesian (<b>x,y,z</b>)<LI> 2: polar (<IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img124.gif">)<LI> 3: spherical (<IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img125.gif">)</UL> </DL><P><DT>Array COO3:<DD> Pointer to the blocks. <BR><P>This integer array contains, in NBLOC+1 variables, the segmentation of array <b> COO4</b>.<P><UL><LI> COO3(1) = 0 <LI> COO3(i+1) = number of last point or node in block i</UL><P><DT>Array COO4:<DD> The coordinates. <BR><P>This NTYP type array contains the point or node coordinates of each page.<P> </DL><P><P><P><H2><A NAME=SECTION05162000000000000000>1.5.2 Corresponding tools</A></H2><P><P><P><H3><A NAME=SECTION05162100000000000000> Reading and writing a DS COOR</A></H3><P><P><P>A DS residing in M.M. is written to S.M. on sequential access file.<P>This is a category 2 DS where only the first four arrays, as well as any associated arrays (described in array <b> COO1</b>), are read (module <b> SDLECT</b>) or written (module <b> SDECRI</b>):<P><UL><LI> when reading, array <b> COO4</b> is only addressed and the read is performed by the programvia a READ command, for example:<P><blockquote> READ(NFCOOR) LE,(M(IACOO4-1+I),I=1,LE)</blockquote><P><LI> when writing, array <b> COO4</b> is transfered via a WRITE command:<P><blockquote> REAL COO4(NDIM,NP) <BR> LE = NDIM * NP <BR> WRITE(NFCOOR) LE,(COO4(I,J),I=1,NDIM),J=1,NP)</blockquote></UL><P><P><P><H3><A NAME=SECTION05162200000000000000> Printing a DS COOR</A></H3><P><P><P>The contents (total or partial) of a DS <b> COOR</b> can be printed by the following modules:<P><DL COMPACT><DT>IMCOOR:<DD> The entire DS (as a function of the print parameter, IMPRE, all or part of array <b> COO4</b> is output):<P><PRE> SUBROUTINE IMCOOR(M,NFCOOR,NICOOR,IMPRE)C AIM : PRINT THE ARRAYS OF DS COOR, INCREASING WITH IMPREC --- FILE NFCOOR (OR MC IF 0), LEVEL NICOOR</PRE><P><DT>INFOCO:<DD> Print a particular value contained in the DS:<P><PRE> SUBROUTINE INFOCO(M,IOPT,TYPESD,NIVEAU,TAB2,TAB3,TAB4,NUMREC, + XREC,YREC,ZREC)C AIM : OUTPUT INFORMATION REGARDING A DS COOR</PRE><P> </DL><P>Preprocessors <b> IMAGXX</b> and <b> INFOXX</b> are used if a conversational call of <b> IMCOOR</b> and <b> INFOCO</b>, respectively, is desired.<P><P><P><H3><A NAME=SECTION05162300000000000000> Creation and modification modules for a DS COOR</A></H3><P><P><P>DS <b> COOR</b> (of the points) generally results from computation performed by the interpolation module (<b> COMACO</b>), whereas the DS corresponding to the nodes is obtained by employing module <b> CORNOE</b>.<P>Preprocessors <b> COMAXX</b> and <b> CORNXX</b> are used when a conversational call of the modules is desired.<P><P> <HR SIZE=3 WIDTH="75%"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html929 HREF="node40.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html935 HREF="node35.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html937 HREF="node42.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html939 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A NAME=tex2html940 HREF="node58.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/index_motif.gif" ALT="index"></A><A HREF="../Guide2-18/node41.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide2-14/node41.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide2-10/node41.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html938 HREF="node42.html">1.6 DS FORC</A><B>Up: </B> <A NAME=tex2html936 HREF="node35.html">1 Description of DS by type</A><B> Prev: </B> <A NAME=tex2html930 HREF="node40.html">1.4 DS BDCL</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 + -
显示快捷键?