Next: 1.8 DS MAIL
Up: 1 Description of DS by type
Prev: 1.6 DS FORC
Index
Contents
This DS stores mesh information in a form which is more adapted to the graphics requirements than DS NOPO. This structure contains a description of the element in terms of volumes, the volumes in terms of faces, the faces in terms of edges, and the edges in terms of points. It therefore corresponds to 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 NOPO, mentioned above.
DS GEOM consists of eight arrays of predefined order.
This integer array contains 32 variables, consisting of a general description of the job (title, date, name), of DS GEOM (type, level, ...), and indicates the presence or absence of array GEO1.
the job title in 20 words of 4 characters,
the date of creation in 2 words of 4 characters,
the creator's name in 6 words of 4 characters,
the DS type,
the DS level,
a reserved parameter,
the number of supplementary arrays
(they are described in array GEO1).
This array is analogous to array B1 of DS B (see this DS).
This integer array contains 15 values.
the space dimension (2 or 3),
the number of mesh vertices,
the number of edges,
the number of faces,
the number of volumes,
the number of triangles or triangular faces,
the number of quadrilaterals or quadrilateral faces,
the number of tetrahedra,
the number of pentahedra,
the number of hexahedra,
the number of boundary vertices,
the number of boundary edges,
the number of boundary faces,
the number of connected components in the domain,
the number of connected components in the boundary.
This integer array contains, for each element (considered as a volume):
Loop i from 1 to NBVOL
This integer array contains, for each face:
Loop i from 1 to NBFAC
This integer array contains, for each edge:
Loop i from 1 to NBARET
This real single precision array contains the vertex coordinates:
X1, Y1, X2, Y2, ..., or
X1, Y1, Z1, X2, ...
This integer array contains the reference numbers of the NBSOM vertices.
A DS residing in main memory is written, as a whole (it is a category 1 DS), to a sequential file via module SDECRI. Similarly, it is read as a whole into main memory via module SDLECT.
The contents (total or partial) of a DS GEOM can be printed by the following modules:
SUBROUTINE IMGEOM(M,NFGEOM,NIGEOM,IMPRE) C AIM : PRINT THE ARRAYS IN DS GEOM, INCREASING WITH IMPRE C --- FILE NFGEOM (OR MC IF 0), LEVEL NIGEOM
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
Preprocessors IMAGXX and INFOXX are used when a conversational call of IMGEOM and INFOGE, respectively, is desired.
The mesh contained in a file can be plotted via preprocessor TRNOXX [96].
DS GEOM, serving as a graphics DS, is created from a DS NOPO by module NOPGEO:
SUBROUTINE NOPGEO(M,NFNOPO,NINOPO,NFGEOM,NIGEOM,NCCF) C AIM : TRANSFORM A DS NOPO INTO AN DS GEOM
The inverse operation is performed by module GEONOP:
SUBROUTINE GEONOP(M,NFGEOM,NIGEOM,NFNOPO,NINOPO) C AIM : TRANSFORMS A DS GEOM INTO A NOPO
Preprocessor NOPGXX is used to call module NOPGEO, whereas GEONXX calls module GEONOP.