Code_Aster ®
Version
7.4
Titrate:
Procedure EXTR_TABLE
Date:
09/02/05
Author (S):
COURTEOUS Mr., J. Key PELLET
:
U4.71.05-A Page
: 1/4
Organization (S): EDF-R & D/AMA
Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
Document: U4.71.05
Procedure EXTR_TABLE
1 Goal
To extract from a table a concept of the matr_asse_gene_R type (generalized assembled matrix). This
count was obtained by operator RECU_TABLE (NOM_TABLE = “MATR_GENE”…) from one
concept result of operator CALC_FLUI_STRU.
Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure EXTR_TABLE
Date:
09/02/05
Author (S):
COURTEOUS Mr., J. Key PELLET
:
U4.71.05-A Page
: 2/4
2 Syntax
resu = EXTR_TABLE (
TABLE
=
matable,
[tabl_ *]
# 1. Definition of the type of the result:
TYPE_RESU
= “MATR_ASSE_GENE_R”,
# 2. Selection of the cell to be extracted:
# 2.1 Selection of the column containing the cell to be extracted:
NOM_PARA
=
para,
[KN]
# 2.2 Selection of the line containing the cell to be extracted:
FILTER = (_F (NOM_PARA
=
para
,
[KN]
/
CRIT_COMP
=
/“EQ”
,
[DEFAUT]
/“”
,
/“LT”
,
/“WP”
,
/“IT”
,
/“GE”
,
/“VIDE”,
/“NON_VIDE”,
/“MAXI”,
/“ABS_MAXI”,
/“MINI”,
/“ABS_MINI”,
# If CRIT_COMP among EQ, LT, WP, IT, GE
/VALE_I
=
ival,
[I]
/
VALE_K
=
kval,
[KN]
/
/
VALE
=
rval,
[R]
/
VALE_C
=
cval,
[C]
|
PRECISION
=
/
prec,
[R8]
/
1.0D-3
,
[DEFAUT]
|
CRITERE =
/“RELATIVE”, [DEFECT]
/
“ABSOLU”
,
),),
TITER
=
titrate,
[KN]
)
If TYPE_RESU:
“MATR_ASSE_GENE_R” then resu of the matr_asse_gene_r type
Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure EXTR_TABLE
Date:
09/02/05
Author (S):
COURTEOUS Mr., J. Key PELLET
:
U4.71.05-A Page
: 3/4
3 Operands
3.1 Operand
TABLE
TABLE = matable
One gives the name of the table of which one wants to extract the value from a cell.
3.2 Operand
TYPE_RESU
TYPE_RESU:
Type of the result created. For the moment, only “MATR_ASSE_GENE_R” is available.
3.3 Operand
NOM_PARA
NOM_PARA = para
One gives the name of the parameter identifying the column containing the cell to be extracted.
3.4
To extract a cell; key word FILTRE
This key word factor (répétable at will) is used to select the line containing the cell to be extracted.
The use of this key word is described in command IMPR_TABLE [U4.91.03].
3.5 Operand
TITER
TITER = title
Titrate that one wants to give to the result of the command [U4.02.01].
Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure EXTR_TABLE
Date:
09/02/05
Author (S):
COURTEOUS Mr., J. Key PELLET
:
U4.71.05-A Page
: 4/4
4 Examples
Example resulting from the case test sdll118a
One wishes to extract from table TT the matrix of mass generalized for a speed of fluid
data:
MG = EXTR_TABLE (TYPE_RESU = “MATR_ASSE_GENE_R”,
TABLE
=
TT,
NOM_PARA
=
“MATR_MASS”,
FILTRE
=
_F (NOM_PARA = “NUME_VITE”,
VALE_I
=
2
),
);
Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A
Outline document