6. Examples#
In this paragraph, we present two examples:
Example A: using the default search criteria to read the results,
Example B: using user search criteria to read results.
For each of these examples we give the syntax of the LIRE_RESU command as well as the content of the FORMAT_IDEAS data structure.
Example A: search criteria by default
Syntax for command LIRE_RESU
INIT = LIRE_RESU (MAILLAGE = m,
UNITE = 19,
FORMAT = 'IDEAS',
TYPE_RESU = 'EVOL_NOLI',
NOM_CHAM = ('DEPL'),
INST = 15. ,
)
SD content FORMAT_IDEAS (by default)
FORMAT_IDEAS |
||||||||
. “ FID_NOM “ |
DEPL |
|||||||
. “ FID_NUM “ |
55 |
|||||||
. “ FID_PAR “(1) |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
|
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
1 |
4 |
4 |
3 |
3 |
8 |
2 |
6 |
|
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
|
||||||||
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
|
||||||||
|
||||||||
“. FID_LOC “ |
7 |
4 |
8 |
8 |
1 |
9999 |
9999 |
|
“. FID_CMP “ |
“ DX “ |
“ DY “ |
“ DY “ |
“ DZ “ |
“ DRX “ |
“ DRY “ |
“ “ |
“ DRZ “ |
When looking for the dataset, the number 9999 is a wild card allowing you to ignore the value read in the header.
Example B: search criteria defined by the user.
Syntax for command LIRE_RESU
UNITE = 19, FORMAT = “IDEAS”, TYPE_RESU = “EVOL_NOLI”, NOM_CHAM = (“15”), INST = 15. , FORMAT_IDEAS = _F ( NOM_CHAM = “DEPL”, NUME_DATASET = 55, RECORD_6 = (3,1,9999,4,2,3), POSI_ORDRE = (8.4), POSI_INST = (7,9999), CMP = (“DX”, “DY”, “DZ”), ) )
Contents of SD FORMAT_IDEAS (by default values)
FORMAT_IDEAS |
||||||||
. “ FID_NOM “ |
DEPL |
|||||||
. “ FID_NUM “ |
55 |
|||||||
. “ FID_PAR “(1) |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
|
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
3 |
1 |
1 |
9999 |
4 |
2 |
3 |
||
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
|
||||||||
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
9999 |
||
|
||||||||
|
||||||||
“. FID_LOC “ |
8 |
4 |
4 |
7 |
7 |
1 |
9999 |
9999 |
“. FID_CMP “ |
“ DX “ |
“ DY “ |
“ DY “ |
“ DZ “ |
“ XXX “ |
“ XXX “ |
“ “ |
“ XXX “ |