Next: 1.9 DS MILI
Up: 1 Description of DS by type
Prev: 1.7 DS GEOM
Index
Contents
This DS stores two- or three-dimensional meshes, as well as information regarding the finite element interpolation chosen. It corresponds to an element by element mesh description and an interpolation description for the unknown type.
DS MAIL is composed of 22 arrays or predefined order.
This integer array contains 32 variables, consisting of a general description of the job (title, date, name), of DS MAIL (type, level, ...), and indicates the presence or absence of array MAI1.
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 MAIL).
This array is analogous to array B1 of DS B (see this DS).
This integer array contains 12 values.
the space dimension (2 or 3),
the number of unknowns of the variational formulation,
the number of finite element types,
the maximum of the reference numbers,
the number of node types,
the number of point types,
1 if the points have other characteristics than their coordinates,
0 if not,
1 if the nodes coincide everywhere with the points, 0 if not,
the maximum number of geometric element types (see below); used to dimension array MAI3
the maximum number of words necessary to store all the information pertaining to an element,
the size of array MAIL,
file write option.
This integer and character array contains 4 + 4.MAXT.NDSD values.
the number of elements,
the number of nodes,
the number of points,
the maximum of the sub-domain numbers.
There are 16 types possible for the usual geometries, corresponding to:
The other types (17 to ...) correspond to particular elements:
This integer array contains NINCFV times 4 words (of 4 characters) representing this signification.
This integer array contains NTYNOE words:
This integer array contains MAI5(i) words:
This integer array contains MAI5(i) words:
This integer array contains MAI7(i) words:
The codes are the following;
This integer array contains NTYPOI words:
This integer array contains MAI9(i) words:
This integer and character array contains 4 NTYELM words:
This integer array contains NTYELM words:
This code is described in DS NOPO (3: triangle, 4: quadrangle, etc.).
This integer array contains NTYELM words:
This integer array contains NTYELM words:
This integer array contains NTYELM words:
This integer array contains NTYELM words:
this integer array contains NTYELM words:
this integer array contains NTYELM words:
This integer array contains:
LMAIJ, the length of array MAIJ, equals the number of words required to store all this information. In the file, this value can be recuperated as each record starts with the number of words which follow.
This array, of type given in MAIJ, contains:
Nodes and points are arranged in the order defined by DS NOPO (see this DS). If the reference element is typically two-dimensional, but is considered as three-dimensional, it suffices to set the z components to 0.
This double precision complex array contains:
NOPO(j), the number of point j in the elementEnd of loop j
Loop from 2 to NMAE
End of loop
If NOPTFI=0, the DS is category 1; consequently, in this case, a DS residing in main memory is written wholly on sequential file via module SDECRI. Similarly, it is read from file and transferred wholly into main memory via module SDLECT.
If NOPTFI=1, the DS is category 2; array MAIL is read and written outside of these modules. Each element constitutes a record:
WRITE(NFMAIL) LE,(M(IAMAIL-1+I),I=1,LE)
The contents (total or partial) of a DS MAIL can be printed by the following modules:
SUBROUTINE IMMAIL(M,NFMAIL,NIMAIL,IMPRE) C AIM : PRINT THE ARRAYS OF DS MAIL, INCREASING WITH IMPRE C --- FILE NFMAIL (OR MC IF 0), LEVEL NIMAIL
SUBROUTINE INFOMA(M,IOPT,TYPESD,NIVEAU,TAB2,TAB3,TABC,TABI,TABJ, + IAMAIL,NUMREC) C AIM : GIVE INFORMATION ON A DS MAIL
Preprocessors IMAGXX and INFOXX are used if a conversational call of IMMAIL and INFOMA, respectively, is desired.
The mesh contained in a file can be plotted via preprocessor TRMCXX (see [96]) in two dimensions, or TRC3XX in three dimensions which also uses DS COOR.
DS MAIL is constructed via modules COMACO, COMAC2 or COMAC3.
Numerous utilities exist for manipulating the contents of a DS MAIL, amongst which the utilities facilitating the exploration of array MAIL.
SUBROUTINE CLMAI5(MAI2,MAIC,MAIL,COO4,IA,NTYE,NDSDE,NNO,NONO,NPO + ,NOPOI,COORP,NREF,NCGE,IFLAG) C AIM : READ ARRAY MAILAND EXPLAIN IT (!)
SUBROUTINE AELESU(M,LONREE,NCOPNP,NTYE,NTALIR,IAMAII,IAMAIJ,IA, + NMA) C AIM : CALCULATE THE ADDRESS OF THE WORD PRECEDING THAT OF THE NEXT ELEMENT
FUNCTION MNEMO(NUMERO,MNEMON,CODE) C AIM : ENTER THE CORRESPONDENCE BETWEEN A NUMBER AND ITS MNEMONIC C --- MNEMO ALWAYS RETURNS THE MNEMONIC CODE IN AN INTEGER . . PARAMETER (NBRE = 24) INTEGER CODE CHARACTER*4 MNEM(NBRE),MNEMON DATA MNEM/'VN ','DX ','DY ','DZ ','DTG ','DN ', + 'DDXX','DDYY','DDZZ','DDXY','DDYZ','DDZX','DDTG', + 'DDNN','DDTN','DLSP','IADN','TRAN','ITI1','ITI2', + 'ITI3','ITI4','ROTX','ROTY'/ C . .
SUBROUTINE TYPGEL(N,NM1,NM2,NM3) C AIM : WRITE CLEARLY IN 3 WORDS NM1, NM2, NM3 THE C --- GEOMETRIC TYPE OF THE ELEMENT OF CODE N